Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

am using a dll in my asp.net 2.0 web project ("Owc11.dll")
Before upgrading our production server (32 bit) it was working fine. So, recently
our production server has been upgraded to 64 bit. So, while running the
application one error throwing like this:

"retrieving the COM class factory for component with CLSID {0002E55D-0000-0000-C000-000000000046} failed due to the following error: 80040154"

Anybody could you please help me asap.

These much ways i have tried,

1. dll registered in GAC also available in regedit.
2. Enabled 32 bit appln (WOW64) on 64 bit application pool by using .net command prompt. But i have 64 applns in the server. So left this method. (We are having both 32/64 bit applns in the IIS).
3. Created Wrapper DLL and used by pre-binding/late binding method (act like interface b/w 32 bit DLL and 64 bit appln)
4. Handlers also used.


thanks in advance .
Posted

1 solution

I had similar problems (not with asp.net/office libs) but with microsoft access/winforms. Out final solution was to set the target platform property to x86, this worked for us.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900