Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accpac / VB.Net Express / 64 Bit OS

Status
Not open for further replies.

msecretan

MIS
Jul 20, 2010
1
CA
I have used VB.Net to create a program to insert timecards into US and Canadian payroll in ACCPAC version 5.5. The process runs quite well on 32 bit machines but as soon as I run the process on a 64 bit server I get the following error:

Unable to cast COM object of type 'AccpacCOMAPI.AccpacSessionClass' to interface type 'AccpacCOMAPI.IAccpacSession'. This operation has 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.

I am running all the same program files on the server with all the current updates to all the modules in Accpac. Any help with this error would be appreciated.
 
You probably need to compile your executable in 32-bit mode, since the COMAPI is 32-bit.
 
Mr. Secretan! How's it going?

What IDE did you use to create your application? VS 2010? 2008, 2005?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top