retrieving the COM class ...failed due to error:80040154

A

aowi

Hi,

I am developing an application on a 64-bit server and calling 32-bit dlls.
I got the error: retrieving the COM class {...}...failed due to
error:80040154.
Is it true in no circumstances we can configure a 64-bit applicaiton to run
with a 32-bit DLL? What could be the possible solution to this issue?

Please help!!

Thanks,

Aowi
 
A

Andrew Morton

aowi said:
I am developing an application on a 64-bit server and calling 32-bit
dlls. I got the error: retrieving the COM class {...}...failed due to
error:80040154.
Is it true in no circumstances we can configure a 64-bit applicaiton
to run with a 32-bit DLL? What could be the possible solution to this
issue?

You can set the application pool associated with the site to be 32-bit, if
that helps.

Andrew
 
A

Andrew Morton

aowi said:
I am developing an application on a 64-bit server and calling 32-bit
dlls. I got the error: retrieving the COM class {...}...failed due to
error:80040154.
Is it true in no circumstances we can configure a 64-bit applicaiton
to run with a 32-bit DLL? What could be the possible solution to this
issue?

You can set the application pool associated with the site to be 32-bit, if
that helps.

Andrew
 
A

aowi

Thank you. But I checked the IIS, it is IIS6.0 not 7.0. I almost tried
everything now, still same error. I also checked the registry using
'regedit', the classID mentioned in error message is there, but still report
not retrievable...Any idea?

Thanks!
 
A

aowi

Thank you. But I checked the IIS, it is IIS6.0 not 7.0. I almost tried
everything now, still same error. I also checked the registry using
'regedit', the classID mentioned in error message is there, but still report
not retrievable...Any idea?

Thanks!
 
A

aowi

Thank you. I followed the example and run the command, but the error still
same...

I checked the 'regedit', under HKEY_LOCAL_MACHINE/SOFTWARE/CLASSES/CLSID, I
did found the class ID in the error message, so it means it is registered,
right? Just for some reason, can not be retrieved...I really do not what to
do now.

Anyone have a suggestion, please let me know. Thanks!
 
A

aowi

Thank you. I followed the example and run the command, but the error still
same...

I checked the 'regedit', under HKEY_LOCAL_MACHINE/SOFTWARE/CLASSES/CLSID, I
did found the class ID in the error message, so it means it is registered,
right? Just for some reason, can not be retrieved...I really do not what to
do now.

Anyone have a suggestion, please let me know. Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top