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


I have developed a website which is working fine when we ran it from VS2010. But after hosting in IIS and running it throwing an error as follows

Message: Sys.WebForms.PageRequestManagerServerErrorException: Retrieving the COM class factory for component with CLSID {2C6D3CA1-2350-101B-AE3A-0040332013F0} failed due to the following error: 80040154.

Please suggest any work arounds asap.

Thanks & Regards
Sriman
Posted

Hello,

This error could be caused by many factors. but the most common one is either Com missing/not registered and 32b app pool error on 64bit os.

This is what I would do:

1) Make sure that the com component is present and registered on the server. Use REGSVR32 ComponentName.dll.

2) It is likely that your com com component is compiled in 32bit. If the server is a 64b os (like w2008R2 for example), you need to make sure that the application pool is a 32bit one and not the default 64b. To do this open IIS, create a new app pool, select properties, in advanced settings set "Enable 32b application" to true. Change your website app pool to use this new one.

That should sort out your issues.

Good luck debugging. :)

Valery.
 
Share this answer
 
Thank you for your reply valery.

I solved the issue by setting my own application pool in IIS and its working fine wihtout any issues.
 
Share this answer
 

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



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