Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) -- Exception
-
When I try to drag one of my usercontrol onto the form, I get the following exception. But I could add the control onto the same project by opening it in mt friend's system. But coming back to my system it gives me the same error... what could be wrong in my system? Could somebody help me in solving this issue plssssss ????? Exception Message: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Hide at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid) 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(Boolean fIgnoreVisible) at System.Windows.Forms.AxHost.EndInit() at Orders.Orders.InitializeComponent() at Orders.Orders..ctor() Thanks in Advance
-
When I try to drag one of my usercontrol onto the form, I get the following exception. But I could add the control onto the same project by opening it in mt friend's system. But coming back to my system it gives me the same error... what could be wrong in my system? Could somebody help me in solving this issue plssssss ????? Exception Message: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Hide at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid) 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(Boolean fIgnoreVisible) at System.Windows.Forms.AxHost.EndInit() at Orders.Orders.InitializeComponent() at Orders.Orders..ctor() Thanks in Advance
Looks like you're using a component that is not registered or not licensed on the form
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Looks like you're using a component that is not registered or not licensed on the form
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Thanks Graus... but I really didn,t get you. Could you brief it... How do I register the component... Thanks Again..
I have no idea. I just see an error message with a stack trace that indicates methods are being called to use an unregistered component, and they are failing. I don't even know what component you're using, you didn't say
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
I have no idea. I just see an error message with a stack trace that indicates methods are being called to use an unregistered component, and they are failing. I don't even know what component you're using, you didn't say
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Thanks Graus... Even though you didn't mention anything specifically in your reply.. , it helped to track the actual problem... In fact I designed a usercontrol using some third party controls.. When I tried using my usercontrol (which was actually) designed in another system by myself) I miised to register the third party controls... Thanks Again...