In my VB .NET code I use the following code:
Dim glSession As ACCPACXAPILib.IxapiSession
...
glSession = New ACCPACXAPILib.xapiSession
...
glSession(i).Open("ADMIN", "ADMIN", accpacDbName, Now, 0)
I tried to do the following to close the above session:
glSession.Close()
I get the following error:
Run-time exception thrown : System.Runtime.InteropServices.COMException - Unspecified error
Does anybody know why am I getting "Uspecified error", what is it and how can I close the session to destroy ACCPAC object?
Dim glSession As ACCPACXAPILib.IxapiSession
...
glSession = New ACCPACXAPILib.xapiSession
...
glSession(i).Open("ADMIN", "ADMIN", accpacDbName, Now, 0)
I tried to do the following to close the above session:
glSession.Close()
I get the following error:
Run-time exception thrown : System.Runtime.InteropServices.COMException - Unspecified error
Does anybody know why am I getting "Uspecified error", what is it and how can I close the session to destroy ACCPAC object?