473,804 Members | 3,068 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.myDllCla ss
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 4095
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.co m

"Cristina Malavasi" <an******@hotma il.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.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.myDllCla ss
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
5373
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 CLSID {3CFCB90E-B0B0-11D2-8D8B-00C04F79EE8F} is either not valid or not registered. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error...
1
1716
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 DLL is referenced as "Interop.DLLName" and I have the original DLL file as just DLLName with no Interop. My first question is why is the word "Interop" on the beginning of the DLL name and how do you get it to that state?
4
1856
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, but while running, gives the following error in the part that must use a certain COM dll: COM object with CLSID {some hex code} is either not valid or not registered I know which application is using this dll while the error is generated and
1
2074
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 application in the same solution but if I try to call the code from the web application I get the error: COM object with CLSID {E0BCDB1B-6B9B-4FD0-A61C-1AB848DB0720} is either not valid or not registered.
6
917
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 {00024500-0000-0000-C000-000000000046} is either not valid or not registered. Excel is not installed on the web server. Is there any way to get around doing that? I have moved Interop.Excel.dll to the web server, but I guess since it's not truly registered and...
2
1500
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... Dim ObjDir As Mydll.Directory Dim ComFile As Mydll.File
4
1482
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 tlbimp.exe file to create a managed dll that I am using in my reference of C# project. tlbimp d:\xyz.dll /out:D:\abc.dll 3) I inculde abc.dll in my C# project and used the following code to
13
15764
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 except for playing of a video file. I get the message:
5
2781
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 given Access and launch permissions to ASPNET user in DCOMCNFG and the identity set to launch user. But I get the following error, moment I try to create the Excel object: Dim oexcel As New Excel.Application "COM object with CLSID...
0
9705
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9575
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10320
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9134
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7609
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6846
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5513
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5645
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2981
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.