cancel
Showing results for 
Search instead for 
Did you mean: 

ASP.NET with DI API on 64bit web server (iis)

former_member933888
Active Participant
0 Kudos

Hi,

I've created a web application (ASP.Net) and use DI API to connect to SAP B1 database.

It is working fine when it is deployed on 32bit web server (iis), and i have error on 64 bit web server (iis) with error 80040154 Class not registered.

i've tried to compiled on x86, 64 or any CPU, it returned the same error.

any idea..

Thanks.

nd

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Andy!

If your server is running 64bits Windows, you have to enable IIS Application Pool (the same is set on your application) to run 32 bits application (the first option of advanced options).

Another way, you need to rebuild your application, and their librarys (if it exists), in x86 target plataform, because the DI API runs only in 32 bits!

It's working perfectly for me!

Regards

Paulo Meira de Melo

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi andy

I need your help, I can not add DI API in webapplication (ASP.NET): it does not exist in the list of references (COM) my goal is to work with SAPBOBSCOM in webapplication,

thank you

Former Member
0 Kudos

Hi,

You may search on the web for the error. Here is an example: http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/88a6ea68-f476-4231-822f-27fabe59f458/

Thanks,

Gordon