Due To The Follwoing Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more readyboot stopped due to the following error about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges failed due to the following error 80040154 Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each
Iclassfactory Failed Due To The Following Error
other. Join them; it only takes a minute: Sign up Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154 up vote 219 down vote favorite 46 I developed a Windows service
Session Readyboot Stopped Due To The Following Error
using C#.NET to generate PDF report. To generate PDF file I am using a third party dll. The application is running in my Windows XP platform. When I deployed the service in Windows Server 2008 64 bit version, I got this error: Retrieving the COM class factory for component with CLSID {46521B1F-0A5B-4871-A4C2-FD5C9276F4C6} failed due to the following error: 80040154. I registered the DLL using the regsvr32 command. I able to see this CLSID in the registry. But readyboot stopped due to the following error 0xc0000188 the problem persists. What could be the problem? .net windows-services com-interop 32bit-64bit share|improve this question edited Nov 2 '09 at 16:59 Randy Levy 19k44174 asked Jun 24 '09 at 7:22 gopal 1,33141423 1 A web application hosted in the same server is able to generate PDF file without any error. –gopal Jun 24 '09 at 7:59 Guys I tried every possible solution but still getting this error. I have assemblies and registered them successfully but still getting same error. Really need help... –newprogress Dec 23 '13 at 11:39 add a comment| 14 Answers 14 active oldest votes up vote 311 down vote accepted In VS - project properties - in the Build tab - platform target =X86 share|improve this answer answered May 23 '10 at 16:44 Fabrice MARIANADIN 3,256193 7 You just saved me a pointless headache. –Babak Naffas Oct 22 '10 at 17:09 2 Saved me a headache, too. –Bob Kaufman Dec 3 '10 at 23:15 5 in VS2008 I found this option under 'Compile->Advanced Compile Options...' (at the bottom of the window tab) and then 'Target CPU' (x86) –Rodolfo Jun 27 '11 at 15:56 1 @Pawan this worked for me! –benedict_w Apr 11 '14 at 12:37 12 I have tried this but it did not work for me. –Ankur Jan 13 '15 at 6:28 | show 11 more comments up vote
, .NET Framework > Visual Basic Question 1 Sign in to vote Greetings, I have a VB.NET application that references a 3rd party Com component. The file is Interop.WINTSRRLIB.dll. My VB.NET
The System Cannot Log You On Due To The Following Error
application has a project reference to the COM comonent which lives in the directory: enterprise manager configuration failed due to the following error C:\WaveTracker. The application runs fine. When I sent it to my customer, he installed in on his desktop machine. It the aoddriver4.2.0 service failed to start due to the following error runs fine. Then he copied all of the application files (which live in C:\WaveTracker) to his laptop. However, on his laptop, he gets the error: "System.Runtime.InteropServices.COMException (0x80040154). Retrieving the COM class factory for component xxxx http://stackoverflow.com/questions/1036856/retrieving-the-com-class-factory-for-component-with-clsid-xxxx-failed-due-to-t failed due to the following error: 80040154" The customer swears he has the .NET 2.0 Framework installed properly on his laptop. Any ideas on how I can get over this problem??? Kind Regards, Scott Tuesday, September 26, 2006 10:44 PM Reply | Quote Answers 1 Sign in to vote Make sure you look in the registry of a PC on which your app works. Don't do a search, https://social.msdn.microsoft.com/Forums/vstudio/en-US/88a6ea68-f476-4231-822f-27fabe59f458/error-80040154-retreiving-com-class-factory?forum=vbgeneral just look through the keys in HKCR\CLSID for the GUID, they are sorted alphabetically. The fact that you can't find a DLL that can be registered with regsvr32 is a strange problem. If might live in another folder, c:\windows\system32 perhaps. Look at the properties of the WinTSRRapiLib reference in your project. Also, the component may itself use another ActiveX component that requires registration. Like the VB6 runtime files for example.Another way to debug this problem is to use the RegMon utility, available for free at www.sysinternals.com. It shows you how your app uses the registry. Run it on yours and run it on the customer's and compare the two. Friday, September 29, 2006 12:55 AM Reply | Quote Moderator 0 Sign in to vote i went to www.sysinternals.com and downloaded a few utilities that led me to the problem...'listdlls' and 'procexp' were very useful. The problem was simply that the 3rd party dll required other dlls that were not on the system. So I installed the required (other) dlls and everything is fine. Thanks for your help and recommendations. Scott Friday, September 29, 2006 2:51 AM Reply | Quote All replies 0 Sign in to vote The COM component needs to be registered on his laptop. Start +
Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A http://www.codeproject.com/Tips/612679/Retrieving-the-COM-Class-Factor Ask a Question View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI due to C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research due to the Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Articles » Platforms, Frameworks & Libraries » COM / COM+ » General Tip/TrickBrowse CodeStatsRevisions (3)Alternatives Comments (6) Add your ownalternative version Tagged as VBForth.NETC#.NET Stats 58.2K views2 bookmarked Posted 27 Jun 2013 Retrieving the COM Class Factory for Component with CLSID Failed due to the following error: 8007007e sanjay30, 27 Jun 2013 CPOL 4.20 (2 votes) 1 2 3 4 5 4.20/5 - 2 votesμ 4.20, σa 2.80 [?] Rate this: Please Sign up or sign in to vote. Retrieving the COM class factory for component with CLSID Introduction This tip shows how COM class factory registr