Blog

Home > Class Not > C# Interop Class Not Registered

C# Interop Class Not Registered

Contents

April 16, 2013, Theo Gray says: @samtal If you are definately compiling your application as 32-bit (x86) then there is a possibility that 64-bit Office would fail, but you have 32-bit Try that, and then #import "your_tlb_file_lol.tlb" no_namespace I think the other option might be to gac the assembly and then regasm it. You haven't provided enough information for us to help you any more than this. Change "Target CPU" to x86, click OK, save and try again. this contact form

Share| By Theo Gray on October 5, 2009 | Permalink | Comment Reader Comments Skip to form January 14, 2010, Andy Bruce says: Yup, that was my problem too. Project Properties-->Build-->Target Platform-->x86 Permalink Posted 29-May-14 21:24pm blackus1.1K Updated 29-May-14 21:27pm v2 Rate this: Please Sign up or sign in to vote. It says 'retrieving the com class factory for component with clsid {} failed due to the following error: 80040154 class not registered'However it connects to source control and could not connect It is, rather, provided at run-time by Adobe Reader and Adobe Acrobat.

Class Not Registered Exception From Hresult 0x80040154

This application is running perfectly on 32 bit Operating System. Thanks a lot! –TrueLifeCoder Mar 14 '12 at 23:43 so, if the required CLID is 91493441-5A91-11CF-8700-00AA0060263B, and after trying search cannot to find it between the current registries (regedit)? In my case when i installed sdk of camera integration tool my problem was solved.

Now i have build property set to target 'any' cpu and deployed it to the 64 bit machine. 3. September 8, 2011, your fan says: Many many thanks! how to solve this? –Vijaya Ragavan Mar 29 at 9:05 add a comment| up vote 0 down vote You'd need to register DHTMLED.ocx share|improve this answer answered Jun 18 '12 at 80040154 Class Not Registered C# Statements about groups proved using semigroups How can I convince players not to offload a seemingly useless weapon?

December 16, 2011, Roby says: Thanks to all!! System.runtime.interopservices.comexception Class Not Registered thank's... at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid) at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid) at System.Windows.Forms.AxHost.CreateInstance() at System.Windows.Forms.AxHost.GetOcxCreate() at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state) at System.Windows.Forms.AxHost.CreateHandle() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() Solution: Go into the Project Properties, Compile tab and click "Advanced Compile Options...".

March 12, 2014, Sue says: Thank you!!!!!!! Class Not Registered Exception From Hresult 0x80040154 Regdb E Classnotreg In Vb Net What are some of the serious consequences that one can suffer if he omits part of his academic record on his application for admission? so is there any way ?or alternate of this dll ? DLL:AxInterop.DHTMLEDLib.dll & Interop.DHTMLEDLib.dll Any one have idea on this exception?

System.runtime.interopservices.comexception Class Not Registered

May 17, 2011, Robbo says: Hi again,I found the answer to my question here:http://forums.create.msdn.com/forums/t/4377.aspx#22601In VS Express 2005/8/10 VB Net or C", go to Tools -> Options.In the bottom-left corner of the https://social.msdn.microsoft.com/Forums/en-US/27a4066d-374b-4208-8750-1720cfd52382/com-interop-gac-and-class-not-registered?forum=clr Previous Entry, Custom DataGridViewColumn & IDataGridViewEditingControl classes, posted June 2, 2009 Next Entry, Christmas Puzzle 2009 - Time, gentlemen, please, December 8, 2009 See also: RSS feed Blog archives © Theo Class Not Registered Exception From Hresult 0x80040154 [email protected] Guest September 17th,02:53 AM #8 Re: Vista 64 Class Not Registered Error I would like to ask 1 question regarding all these. Class Not Registered Exception From Hresult 0x80040154 Regdb E Classnotreg I get the following error when the application runs: "System.Runtime.InteropServices.COMException: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))." I have Adobe 8.1.2 installed.

Insults are not welcome. http://getbetabox.com/class-not/2147746132-class-not-registered.html This may help someone out there. May 27, 2010, Faraday says: Thank you, this solved my problem. Regards, David [email protected] Guest September 14th,03:12 PM #4 Re: Vista 64 Class Not Registered Error AxAcroPDF is not a separate component to be downloaded, redistributed, or deployed separately. Class Not Registered Exception From Hresult Windows 7

General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ But I hope this will help somebody someday. while clicking the edit am getting the following error, System.Runtime.InteropServices.COMException was unhandled Message="Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))" Source="System.Windows.Forms" ErrorCode=-2147221164 StackTrace: at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& http://getbetabox.com/class-not/the-url-was-class-not-registered.html July 7, 2015, Asif Iqbal says: Thank you so much.

But I am getting same error. //************************ 1. Powershell 80040154 Class Not Registered Exception From Hresult 0x80040154 Regdb_e_classnotreg Thank you ! Both are a mix of COM and .NET components that register for COM Interop.

If you need to register to the 64-bit hive, you may need to call the version of RegAsm.exe under c:\windows\microsoft.net\framework64...

The x86 did the trick, although I am peeved that it created a whole new configuration in VS2005, but I can deal with it because it finally works!!! March 10, 2016, AG says: Nice. This saved my project. Regdb_e_classnotreg 64-bit November 17, 2016, Bradley says: Dude: You rock!

Visit our UserVoice Page to submit and vote on ideas! July 2, 2013, vimal says:Retrieving the COM class factory for component with CLSID {07C125F2-0E5A-11D3-B339-00A0C9B04E87} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))please help..! typing "C:\Windows\System32\regsvr32.exe /i mydll.dll" and then "C:\Windows\SysWOW64\regsvr32.exe /i mydll.dll") and seeing if that helps... his comment is here But to repeat, gacutil lists the component in the Global Assembly Cache.Any idea or suggestion on what to do next is appreciated Saturday, April 28, 2007 11:55 PM Reply | Quote

You saved a hell of a time.Cheers. Optional Password I have read and agree to the Terms of Service and Privacy Policy Please subscribe me to the CodeProject newsletters Submit your solution! September 4, 2014, Sabyasachi Bera says: Thanks a lot..it saved lot of time. The other possibility for things to go wrong is that you might need to run the .NET 4.0 version of regasm.exe.

I didn't have to change my .NET project to x86.However, when I recompiled using .NET Framework 4.0, I started getting the COMException "Class not registered" error.Changing the project to target x86 says: Thank You!