By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,165 Members | 1,928 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,165 IT Pros & Developers. It's quick & easy.

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

P: 5
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 this application and have installed in my machine . Now when i tried running the exe i got the following exception:
"System.Runtime.InteropServices.COM Exception(0x80040154):COM object with CLSID{EAA4E7EC-19EC-4576-ABFB-128BC024B429} is either not valid or not registered"
Can anyone help me?

Oct 31 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 533
Hi BLavanya,

Try going to Start > Run > Type "regsvr32 yourcomobject.dll" (replace yourcomobject.dll with the full path and filename of the DLL you are referencing in your project). This should then register the COM class in the Windows Registry and then can be referenced from your app.

Hope it helps.

Oct 31 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.