Click here to Skip to main content
12,401,995 members (56,781 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
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
gkelkar427
Updated 12-May-16 17:55pm
Comments
ThePhantomUpvoter 26-Jun-13 9:10am
   
You are trying to use a COM control that is not registered.
Rate this: bad
 
good
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
  Permalink  
v2
Rate this: bad
 
good
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[^]
  Permalink  
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.....

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.160721.1 | Last Updated 10 Jun 2016
Copyright © CodeProject, 1999-2016
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