on 09-03-2010 9:43 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.