Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all,
i m trying to run my project but one form is not open and above error is occurred...but that form is run on another machine..i don't know how to solve the problem and why that error is come....plz help...i am also find out the solution....
Posted
Updated 6-Jul-20 3:32am
Comments
[no name] 26-Jun-13 9:10am    
You are trying to use a COM control that is not registered.

From the error, it looks like your application is using some sort of COM object that is not installed /registered on the machine on which you are getting error.

For troubleshooting you can look into source code of form, try to find out what COM object its trying to create, which is causing issue. Then install required COM object on machine .

Use following links fro reference
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))[^]
I'm getting this error when I'm using COM reference in winform[^]
 
Share this answer
 
v2
Comments
gkelkar 29-Jun-13 9:14am    
thank you so much for your valuable help...its getting me idea of my problem solution..i m trying to understand and registered COM com object on my machine.....
Please set the project platform target to x86. Since most of the COM you may be using in your project was built on x86. Project Properties-->Build-->Target Platform-->x86
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900