badmotorvision
Programmer
Sorry if double post. Im not sure I completed the first one correctly.
Wrote my little interface in vb.net with a4wcomex.dll
got everything working on my machine. Went to deploy to
the server and blam.
Server info
Windows 2003 x64 server
Server does have accpac 5.5a installed and running correctly.
I have verified that a4wcomex and a4wcomsr are registered
but this is the error message I get on session.init
"System.InvalidCastException: Unable to cast COM object of type 'AccpacCOMAPI.AccpacSessionClass' to interface type 'AccpacCOMAPI.IAccpacSession'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{B3B13603-A675-11D2-9B95-00104B71EB3F}' failed due to the following error: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at AccpacCOMAPI.AccpacSessionClass.Init(String ObjectHandle, String AppID, String ProgramName, String AppVersion)
at Accpac_Interface.PurchaseOrder..ctor(w_test aWin)
Wrote my little interface in vb.net with a4wcomex.dll
got everything working on my machine. Went to deploy to
the server and blam.
Server info
Windows 2003 x64 server
Server does have accpac 5.5a installed and running correctly.
I have verified that a4wcomex and a4wcomsr are registered
but this is the error message I get on session.init
"System.InvalidCastException: Unable to cast COM object of type 'AccpacCOMAPI.AccpacSessionClass' to interface type 'AccpacCOMAPI.IAccpacSession'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{B3B13603-A675-11D2-9B95-00104B71EB3F}' failed due to the following error: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at AccpacCOMAPI.AccpacSessionClass.Init(String ObjectHandle, String AppID, String ProgramName, String AppVersion)
at Accpac_Interface.PurchaseOrder..ctor(w_test aWin)