C/Front .NET AccessViolationException

BrentNewburyBrentNewbury Member Posts: 11
Hi all,

When I try to load the C/Front .NET dlls and then open a connection to a Navision system who's license does not allow the runinng of the C/Front system, I get an exception. This is all well and good. However, when the .dlls get disposed off I get a AccessViolationException that completely kills the app. Is there anyway I can deal with this problem?

Just to let you know, I've tried calling the CheckLicenseFile() method and passing the value '1800' (C/Front granule id) before I attempt to connect, but what ever I do, if an exception occurs while attempting to connect, C/Front .NET throws an exception while disposing itself (which is extremely bad behaviour anyway).

Thank you for your time.

- Brent
Sign In or Register to comment.