Integration Technologies - JDE1 (MOSC)

MOSC Banner

Using XMLInterop.DLL and getting System.AccessViolationException error.

edited Jan 16, 2015 5:01AM in Integration Technologies - JDE1 (MOSC) 2 commentsAnswered

I have VB.Net Windows service that uses XMLInterop to get a next number from JDE. When the service tries to run JdeXMLRequest the service stops running and the following error is generated in the Event Viewer. I am running the service on Windows 7.

Application: KronostoJDE.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.AccessViolationException

Stack:

at Microsoft.Win32.Win32Native.CoTaskMemFree(IntPtr)

at KronostoJDE.helper.JdeXMLRequest(System.String, Int32, Int32, System.String, Int32)

at KronostoJDE.helper.SendXMLRequest(System.String)

at KronostoJDE.helper.GetNextNumber()

at KronostoJDE.Service1.tmrCheck_Tick(System.Object, System.EventArgs)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center