Click here to Skip to main content
13,055,490 members (52,612 online)
Rate this:
Please Sign up or sign in to 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 26-Jun-13 3:00am
Updated 13-Feb-17 22:15pm
ThePhantomUpvoter 26-Jun-13 9:10am
You are trying to use a COM control that is not registered.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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[^]
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.....
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 14 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100