473,394 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

COM object with CLSID {...} is either not valid or not registered

Hi a have a COM dll made in C++ (I don't have the source code) I used
tlbimp to create a managed .NET assembly dll... I reference this dll and
import it with "using myDll" then I make an object (myDll.myDllClass
dll=new myDllClass() and then I can see the methods implemented on the
dll... until here everything is fine... I even see the object on the
object browser... but when I run my project it gives the next error
where I create the object (new):

COM object with CLSID {DAA0701E-C3E8-429A-9E3D-83121ED37223} is either
not valid or not registered.

I did register the new COM using regasm... and I checked the registry
and that key is registered... I also registered the c++ COM with
regsvr32... so I don't have a clue of what am I doing wrong...

I would appreciate any help... THANKS A LOT!!!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
1 4066
Cristina,

Is the CLSID the id of the class you are trying to create, or is it the
CLSID of a class that is being created in the COM class? It is possible
that the CLSID is the id of a supporting class, but it is not registered on
the machine.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Cristina Malavasi" <an******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi a have a COM dll made in C++ (I don't have the source code) I used
tlbimp to create a managed .NET assembly dll... I reference this dll and
import it with "using myDll" then I make an object (myDll.myDllClass
dll=new myDllClass() and then I can see the methods implemented on the
dll... until here everything is fine... I even see the object on the
object browser... but when I run my project it gives the next error
where I create the object (new):

COM object with CLSID {DAA0701E-C3E8-429A-9E3D-83121ED37223} is either
not valid or not registered.

I did register the new COM using regasm... and I checked the registry
and that key is registered... I also registered the c++ COM with
regsvr32... so I don't have a clue of what am I doing wrong...

I would appreciate any help... THANKS A LOT!!!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ahmed | last post by:
i have tried running the csharpsite in my Microsoft Visual C#.net and after i hit the run button i keep getting the same error which is : Server Error in '/csharpsite' Application COM object with...
1
by: compassSoftware | last post by:
I am trying to work on an application that uses a dll as a COM object. I am coming in late to this project to administer/update the application. I notice in the References that a particular...
4
by: Shiraz | last post by:
Hi I just made an installer package for an application in .NET which also uses COM dlls. It seems to work fine on my machine but when tried it on a co-worker's machine, the application installs,...
1
by: Jen | last post by:
Hi, I'm having an issue calling a dll from an ASP.NET page. The code that tries to instantiate a COM dll (class) is in a Class Library. I can call the code successfully from a windows...
6
by: JROCamaro | last post by:
I have compiled code that populates data from sql database into an excel document on the client. When moving code to the web server and running it, I get an error COM object with CLSID...
2
by: Thomas Andersson | last post by:
Hi, I am trying to use a ActiveX Com component in a aspx web page. First I have made a reference to the .dll. I have also used aspCompat="true" in the page. Then I use the code below... ...
4
by: c.verma | last post by:
I am stuck on one silly thing.It is just about calling unmanaged code in the C# win/web application. This is what I did: 1) Created a VB dll xyz.dll. 2) Since this is unmanaged dll, I used...
13
by: brianbasquille | last post by:
Hello all, Am trying to modify / update the existing open-source OpenHTPC. I've renamed most of the namespaces and some forms (as well as added my own with modifications) and everything works...
5
by: RJN | last post by:
Hi I'm invoking the excel object from ASP.Net application. My development machine is Windows 2000 and MS Office is installed on my m/c. I have added reference to the Excel COM object, I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.