cancel
Showing results for 
Search instead for 
Did you mean: 

Int_Fields88.dll crash

Former Member
0 Kudos

Hi all,

We recently updated our Business One to version 8.8.

Now, i've got an application, I rebuilded it with the latest sap assemby's (sapbobscom88).

The application is a service that reads the data from the company and creates some XML files.

The services starts and the first XML is created, but after this the service crashes.

I'm getting an error in the sap assembly Int_Fields88.dll, wich i'm not using in my application.

Any ideas ?

Kind regards,

Hans

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello

Reinstall your DI API, or at least make a clean up on the %TEMP%SM_OBS_DLL

This maybe solves the problem.

Regards

János

Former Member
0 Kudos

Hi János,

Thanks for the reply but this didn't resolve my problem.

Anyone else with some other suggestions ?

Kind regards,

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hans,

Are you using B1DE and if so are you using the version for B1 8.8 which is 2.1?

Eddy

Former Member
0 Kudos

Hi all,

Just found out it happens when I'm releasing the COM object.

I'm working with the Company object at this time.

If Not oObject Is Nothing Then

If System.Runtime.InteropServices.Marshal.IsComObject(oObject) Then

ReleaseCOMObject = System.Runtime.InteropServices.Marshal.ReleaseComObject(oObject)

Else

ReleaseCOMObject = 0

End If

oObject = Nothing

'Garbage Collector

System.GC.Collect()

System.GC.WaitForPendingFinalizers()

Else

ReleaseCOMObject = 0

End If

My Service crashes on the bold line. But not always (90% of the time it does)

Any thaughts?

Kind regards

Former Member
0 Kudos

Hello

What is oObject used for?

Why you using this code at the end. GC.Collect() is fully enought, and Set oObject = nothing then

I have using the following code in my services:

oCompany.Disconnect()
GC.Collert()
oCompany = Nothing ' GC.Collelt required before nothing

Regards

János

Former Member
0 Kudos

Thanks János,

Indeed solved the problem. Haven't develloped the application myself, just made some changes to it and needed to get it working on 8.8 now.

Kind regards,

Answers (0)