By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,795 Members | 1,216 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,795 IT Pros & Developers. It's quick & easy.

Retrieving the COM class factory for component with CLSID {}failed...error: 80040154

P: 6
Hi all,

I am using :
1. Windows XP-Visual Studio 2005
2. FastReport Studio Trial (

I have used FastReport Studio Trial (FastReport3.dll) in my ASP.NET web Site project,Every thing is ok and execute my project and generate report on VS2005 BUT when i publish it in local host (IIS 5.1), the error comes as

Retrieving the COM class factory for component with CLSID {4764040E-4222-4DEC-9F2E-82D46E212B3A} failed due to the following error: 80040154

can you help me to solve this error i have one emergency project that it depend to this solution.....

Your quick response would be really appreciated.

Best Regards
Aug 19 '08 #1
Share this Question
Share on Google+
3 Replies

Expert 2.5K+
P: 4,871
This usually something to do with the class not being registered and not IIS.

Please do not double post. If you are unsure of the site rules, go to Posting Guidelines.

Aug 19 '08 #2

P: 2
I was given a task to convert a VB project to VB.NET. Evrything went well in the conversion and as a result I got a successfull build after some minor changes in the code in VB.NET.But when I made the project to run, it throwed a run time exception as "Creating an instance of the COM component with CLSID {XXXXX} from the IClassFactory failed due to the following error :80004004" when the project accessed a reference file (DLL which has file type as ACTIVEX in its properties).The strange thing is the Dll name used by VB was EXECU.dll. But after the conversion the reference was changed to interop.ECECU.dllEven when I tried to add the reference manually to the dll EXECU.dll, its refernce automatically changes its name to interop.EXECU.dll.When I browsed the dll content in the object browser I found that the DLL was having the class EXECU inside the namespace (library) but the class was not having any function in it.Do i have to run anything to get the full functionality of the original DLL
Oct 18 '10 #3

P: 2
Just register the dll as
regsvr32 [path:\\..\..\FastReport3.dll]
Oct 21 '10 #4

Post your reply

Sign in to post your reply or Sign up for a free account.