Due To The Following 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 readyboot stopped due to the following error the company Business Learn more about hiring developers or posting ads with us Stack failed due to the following error 80040154 Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
Iclassfactory Failed Due To The Following Error
of 4.7 million programmers, just like you, helping each 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
Session Readyboot Stopped Due To The Following Error
up vote 219 down vote favorite 46 I developed a Windows service 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 readyboot stopped due to the following error 0xc0000188 registered the DLL using the regsvr32 command. I able to see this CLSID in the registry. But 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
the COM class factory for component with CLSID …. ★★★★★★★★★★★★★★★ MSDN ArchiveFebruary 28,
The System Cannot Log You On Due To The Following Error
200614 0 0 0 PROBLEM: When you run the.net Code enterprise manager configuration failed due to the following error in X64 Environment you will get the following error message. " Failed -Retrieving the COM class the aoddriver4.2.0 service failed to start due to the following error factory for component with CLSID …." E.g. in CMS Export / Import server side .net code= "ExportSiteContentIncremental(…) Failed -Retrieving the COM class factory for component http://stackoverflow.com/questions/1036856/retrieving-the-com-class-factory-for-component-with-clsid-xxxx-failed-due-to-t with CLSID {CA0752B3-021C-4F99-82E3-2C0F19C5E953} failed due to the following error: 80040154."
WORKAROUND: The possible workaround is modify your project's platform from ‘Any CPU' to ‘X86' (in Project's Properties, Build/Platform's Target) ROOTCAUSE The VSS Interop is a managed assembly using 32-bit Framework and the dll contains a 32-bit COM object. If you run this https://blogs.msdn.microsoft.com/karthick/2006/02/28/failed-retrieving-the-com-class-factory-for-component-with-clsid/ COM dll in 64 bit environment, you will get the error message. Tags .net Comments (14) Cancel reply Name * Email * Website MSDN Archive says: March 22, 2006 at 11:19 am Reply Paolo Pialorsi says: December 9, 2006 at 9:10 am L'altro giorno ho pagato le spese di un problema legato all'istanziazione di componenti COM, via COM-Interop,… Reply mjda says: March 1, 2007 at 9:55 am Is there a workaround for an ASP.NET project calling the COM component? Reply prafullparijat says: August 6, 2007 at 8:29 am Hi is there any way to call the COM object therough some other method? Reply [.NET] Well COM This! « Zay'z - [ Den ‘O' Slack ] says: March 8, 2008 at 11:10 pm PingBack from http://zayz.wordpress.com/2008/03/08/net-well-com-this/ Reply New Coding Jobs » fix error: Retrieving the COM class factory says: June 11, 2008 at 1:38 pm PingBack from http://www.newcodingjobs.com/c/fix-error-retrieving-the-com-class-factory.htm Reply New Coding Jobs &raquASP.NET Community Standup Forums Help Home/ASP.NET Forums/Community/Free For All/Retrieving COM class factory failed due to the following error: 80040... Retrieving COM class factory failed due to the following error: 80040154 http://forums.asp.net/t/1119052.aspx?Retrieving+COM+class+factory+failed+due+to+the+following+error+80040154 [Answered]RSS 10 replies Last post May 26, 2011 02:49 PM by a.Oveissian ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Reply Mattaul None 0 Points 1 Post Retrieving COM class factory failed due to the following error: 80040154 Jun 06, 2007 11:53 AM|Mattaul|LINK Retrieving the COM class factory for component with CLSID due to {60434CA9-132A-11D5-B14F-00C04F79D784} failed due to the following error: 80040154. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {60434CA9-132A-11D5-B14F-00C04F79D784} failed due to the following error: 80040154. I am having this problem with due to the my site. I moved it from one machine to another, it works on the original and does not on the backup. Reply Young Fang -... Star 14123 Points 1607 Posts Re: Retrieving COM class factory failed due to the following error: 80040154 Jun 11, 2007 03:00 AM|Young Fang - MSFT|LINK Hi, Please have a look at this to check if it suits your need: When you run the .net Code in X64 Environment you will get the following error message. " Failed --Retrieving the COM class factory for component with CLSID ...." E.g. in CMS Export / Import server side .net code = "ExportSiteContentIncremental(...) Failed --Retrieving the COM class factory for component with CLSID {CA0752B3-021C-4F99-82E3-2C0F19C5E953} failed due to the following error: 80040154." WORKAROUND: The possible workaround is modify your project's platform from 'Any CPU' to 'X86' (in Project's Properties, Build/Platform's Target) ROOTCAUSE The VSS Interop is a managed assembly using 32-bit Framework and the dll contains a 32-bit COM object. If you run this COM dll in 64 bit environment, you will get the error message. NOTE:If you find my response contains a reference to a third party World Wide Web site,