Solved

Exceptional Error

Posted on 2012-04-05
3
707 Views
Last Modified: 2012-11-01
System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details.  The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) ---> System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))


Can you help me to rectify this connection
0
Comment
Question by:mahmood66
3 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 37811633
can u give some background of what the exception is about?
obviously .net, but what version? what are you trying to accomplish?
maybe some code snippet?
0
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 300 total points
ID: 37814346
First of all, this is not an Exceptional error, all errors are called Exceptions in .NET :-)

You have a form that is trying to use a COM dll or ocx file. COM files are the one that were used before .NET. Unfortunately, this type of error has a very limited error message and you will have to find out by yourself which dll or ocx is faulty.

It can be that the dll or ocx file is not installed on the users computer. For instance, if you created an application that calls Microsoft Excel and the user does not have Microsoft Excel, you might get that type of error.

Or the dll is installed but not registered. These old dll need to be registered in the Windows registry before you can call them. This can happen if you provided the dll with the application. Usually , the application installer is supposed to be flagged to do so automatically, but you might not have set the flag when you prepared your setup program.
0
 

Author Closing Comment

by:mahmood66
ID: 37820738
guided us to solve the issue.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why does my excel data start at B1 instead of A1. 9 81
.NET 2008 VB and C# 6 27
RLDC Reporting in Visual studio 11 15
JSON  parse help 7 23
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This article will show, step by step, how to integrate R code into a R Sweave document
This video teaches viewers about errors in exception handling.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question