473,396 Members | 1,924 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,396 software developers and data experts.

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

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?

The app is working ok in production, however I am trying to create a
testing environment where I can upgrade the product. The problem I am
having is when I try to access the DLL in code I receive an error
message "COM Object with CLSID {...} is either not valid or not
registered."

I have copied the DLL from the production environment so I am confused
as to why it is not working in the testing environment. I have loading
the DLL into the References section and I can view it in the object
browser.

Can anyone help find why I am receiving this error message?

Nov 17 '05 #1
1 1689
COM uses the registry to locate code. You need to make sure that the original COM dll is on the machine and is registered using

regsvr32.exe

The Interop.DLLName file is a generated wrapper that allows the COM code to be called from .NET.

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

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?

The app is working ok in production, however I am trying to create a
testing environment where I can upgrade the product. The problem I am
having is when I try to access the DLL in code I receive an error
message "COM Object with CLSID {...} is either not valid or not
registered."

I have copied the DLL from the production environment so I am confused
as to why it is not working in the testing environment. I have loading
the DLL into the References section and I can view it in the object
browser.

Can anyone help find why I am receiving this error message?
[microsoft.public.dotnet.languages.csharp]
Nov 17 '05 #2

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

Similar topics

0
by: Arne Kösling | last post by:
Hi ! I am new to Web Services. Therefore I ve set up a PHP Installation on Windows (PHP 4.3.2 and Apache 1.3.29). I have tested PHP alone and then installed PEAR. Now I am stuck there (Before...
4
by: Jian H. Li | last post by:
Hello, What's the essential differences between the two ways of "class::member" & "object.member"(or object_pointer->member)? class C{ public: void f() {} int i; };
11
by: Florian Loitsch | last post by:
I'm currently writing a JS->Scheme compiler (which, using Bigloo, automatically yields a JS->C, JS->JVM, JS->.NET compiler), and have a question concerning the function-parameters: According to...
5
by: Robin Tucker | last post by:
Hiya, I'm using mshtml and the web browser control to embed an OLE object in my ..NET application. What I want to do is get a reference to the "object" embedded therein: The HTML looks...
5
by: Rich Wallace | last post by:
Hi all, Please forgive me if this has been answered already, I looked around the group and I couldn't find anything that jumped out at me. We utilize Informatica in our environment as an ETL...
5
by: Brent | last post by:
This AJAX stuff is all new to me. To try it out, I borrowed this code from a website: ======================== var http_request = false; function makeRequest(url) { http_request = false;
16
by: Steve Chapel | last post by:
When I load the page <https://bugzilla.mozilla.org/attachment.cgi?id=237739with Internet Explorer 7 RC 1, I get the error "Object Expected" at line 174. When I click on the button, I also get the...
1
by: BLavanya | last post by:
Hi, i have an windows application which uses an user built dll which uses COM dll. I have kept that dll in the bin and referenced in the project. it built sucessfully . I have created a setup.exe of...
8
by: webgenius | last post by:
Whenever I click the SUBMIT button in my HTML page, I get the "Object not found!" error. It was working fine yesterday. This error started to occur after I installed Codelobster and made some changes...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.