Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
Hi all,

Can anybody help me regarding below error:

Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

How to over come this issue

Thanks,
Ramanjaneya B
Posted
Updated 28-Jan-17 22:43pm

I suspect you have missed the first part of the error message and are just providing the "InnerExeception", never the less. I Googled Error: 80040154 Crystal Reports and got the following result for you:

http://stackoverflow.com/questions/12195399/crystal-report-in-net-framework-4-0[^]

I had a similar issue before and for me it was where I was creating a 32bit application but had installed the 64bit crystal reports. Ensure that your versions match and that your application is compiling to the correct target platform.
 
Share this answer
 
SQL
You dont have to configure your project properties platform target X86. You can also configure the iis options to work with x86 like that

    * Select Application pool
    * Select the pool which your app uses
    * Advanced settings
    * Enable 32 bit applications true
 
Share this answer
 
Go to IIS -> application pools ->click right button on your application pools -> go to advance setting -> Enable 32 bit application = True
 
Share this answer
 
Comments
CHill60 30-Jan-17 7:34am    
Which is exactly what Solution 2 suggested 2 years ago!
Member 12601322 22-Oct-17 15:08pm    
How to change no server ??

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