473,473 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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:

"COM object with CLSID {DEFC92B5-D996-4EF0-82AC-5C1110F67BCD} is either
not valid or not registered."

Would i need to add this key above under CLSID in the registry? Would
changing namespaces / renaming files have caused this.

Many thanks.

Brian

Apr 1 '06 #1
13 15726
Anyone?..

Please, some help here would be much appreciated!

Thanks in advance

Apr 3 '06 #2
Adding a CLSID to the registry without installing the component makes no
sense, You need to install the component ( a DLL) and make sure it gets
registered using regsvr32.
Willy.

<br************@gmail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
| 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:
|
| "COM object with CLSID {DEFC92B5-D996-4EF0-82AC-5C1110F67BCD} is either
| not valid or not registered."
|
| Would i need to add this key above under CLSID in the registry? Would
| changing namespaces / renaming files have caused this.
|
| Many thanks.
|
| Brian
|
Apr 4 '06 #3
Thanks for that Willy.

I've already tried registering all componants i use in my program using
regsvr32 and keep getting the message:

"<DLLName>.dll was loaded, but the DLLRegisterServer Entry Point was
not found.

DLL was not registered"

Have all DLL's both in a folder called Dependencies in my Project and
also in the bin folder along with the outputted executable.

Any other suggestions? Is driving me crazy - the registry key i
mentioned isn't in my registry but all the DLL's must required to be
registered, but won't.

Regards,

Brian

PS - am using VS2003 along with the .NET framework 2003 if that helps.

Willy Denoyette [MVP] wrote:
Adding a CLSID to the registry without installing the component makes no
sense, You need to install the component ( a DLL) and make sure it gets
registered using regsvr32.
Willy.

<br************@gmail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
| 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:
|
| "COM object with CLSID {DEFC92B5-D996-4EF0-82AC-5C1110F67BCD} is either
| not valid or not registered."
|
| Would i need to add this key above under CLSID in the registry? Would
| changing namespaces / renaming files have caused this.
|
| Many thanks.
|
| Brian
|


Apr 5 '06 #4
Have you tried the depends utility from MS to see what the problem might be?

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

<br************@gmail.com> wrote in message
news:11**********************@t31g2000cwb.googlegr oups.com...
Thanks for that Willy.

I've already tried registering all componants i use in my program using
regsvr32 and keep getting the message:

"<DLLName>.dll was loaded, but the DLLRegisterServer Entry Point was
not found.

DLL was not registered"

Have all DLL's both in a folder called Dependencies in my Project and
also in the bin folder along with the outputted executable.

Any other suggestions? Is driving me crazy - the registry key i
mentioned isn't in my registry but all the DLL's must required to be
registered, but won't.

Regards,

Brian

PS - am using VS2003 along with the .NET framework 2003 if that helps.

Willy Denoyette [MVP] wrote:
Adding a CLSID to the registry without installing the component makes no
sense, You need to install the component ( a DLL) and make sure it gets
registered using regsvr32.
Willy.

<br************@gmail.com> wrote in message
news:11*********************@e56g2000cwe.googlegro ups.com...
| 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:
|
| "COM object with CLSID {DEFC92B5-D996-4EF0-82AC-5C1110F67BCD} is either
| not valid or not registered."
|
| Would i need to add this key above under CLSID in the registry? Would
| changing namespaces / renaming files have caused this.
|
| Many thanks.
|
| Brian
|

Apr 5 '06 #5
That means that you are trying to register a non COM server DLL. All COM
server DLL's should have the DLLRegisterServer entry point. IMO you are
missing the COM DLL containing the COM class with CLSID
DEFC92B5-D996-4EF0-82AC-5C1110F67BCD.

Willy.
<br************@gmail.com> wrote in message
news:11**********************@t31g2000cwb.googlegr oups.com...
| Thanks for that Willy.
|
| I've already tried registering all componants i use in my program using
| regsvr32 and keep getting the message:
|
| "<DLLName>.dll was loaded, but the DLLRegisterServer Entry Point was
| not found.
|
| DLL was not registered"
|
| Have all DLL's both in a folder called Dependencies in my Project and
| also in the bin folder along with the outputted executable.
|
| Any other suggestions? Is driving me crazy - the registry key i
| mentioned isn't in my registry but all the DLL's must required to be
| registered, but won't.
|
| Regards,
|
| Brian
|
| PS - am using VS2003 along with the .NET framework 2003 if that helps.
|
| Willy Denoyette [MVP] wrote:
| > Adding a CLSID to the registry without installing the component makes no
| > sense, You need to install the component ( a DLL) and make sure it gets
| > registered using regsvr32.
| >
| >
| > Willy.
| >
| > <br************@gmail.com> wrote in message
| > news:11*********************@e56g2000cwe.googlegro ups.com...
| > | 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:
| > |
| > | "COM object with CLSID {DEFC92B5-D996-4EF0-82AC-5C1110F67BCD} is
either
| > | not valid or not registered."
| > |
| > | Would i need to add this key above under CLSID in the registry? Would
| > | changing namespaces / renaming files have caused this.
| > |
| > | Many thanks.
| > |
| > | Brian
| > |
|
Apr 5 '06 #6
Thanks for that Willy.

But am unsure of how to resolve this.. any pointers?

Any way to find out the COM Dll with that particular CLSID?

Apr 5 '06 #7
Anyone have any thoughts on this..

Does anyone have any idea how to pinpoint the particular DLL i'm
missing? Either by using the CLSID specified above or using some other
method?

Thanks in advance,

Apr 9 '06 #8
br************@gmail.com wrote:
Does anyone have any idea how to pinpoint the particular DLL i'm
missing? Either by using the CLSID specified above or using some other
method?


Start>Run>regedit
HKEY_CLASSES_ROOT\CLSID\...your.clsid...

--
Lucian
Apr 9 '06 #9
Cheers Lucian.

But the message i'm getting is that the particular CLSID
({DEFC92B5-D996-4EF0-82AC-5C1110F67BCD}) isn't registered and therefore
isn't in the registry,

Apr 9 '06 #10
Anyone else?

Please very frustrated with this problem!

Apr 14 '06 #11
br************@gmail.com wrote:
Anyone else?
Please very frustrated with this problem!


My instinct now is to do a binary search of every DLL+EXE on your hard
disk to see if any of them include this text string. Hopefully (1) the
guy who tries to LOAD it will have it, (2) also the guy who PROVIDES
it. Also, figure out the binary representation of that CLSID.

--
Lucian
Apr 15 '06 #12
A binary search? Would a standard search in XP of *.dll and *.exe
containing the text "DEFC92B5-D996-4EF0-82AC-5C1110F67BCD" suffice?
That found nothing anyways!

Also, how would i convert the CLSID to a binary representation?

Apr 15 '06 #13
br************@gmail.com wrote:
A binary search? Would a standard search in XP of *.dll and *.exe
containing the text "DEFC92B5-D996-4EF0-82AC-5C1110F67BCD" suffice?
That found nothing anyways!
Using which tool? I doubt "grep" would find a text-string inside a
binary file. I don't know about Visual Studio's FindInFiles. My
instinct would be two write my own tool, just to be sure.

Also, how would i convert the CLSID to a binary representation?


In DWORD groups, it's

0xdefc92b5, 0x4ef0d996, 0x115cac82, 0xcd7bf610

In byte-sequences, it's

0xb5, 0x92, 0xFC, 0xDE, 0x96, 0xD9, 0xF0, 0x4E, 0x82, 0xAC, 0x5C,
0x11, 0x10, 0xF6, 0x7B, 0xCD
At least, I think that's how it works. I know that a CLSID is one
4-byte number, followed by two 2-byte numbers, followed by eight
1-byte numbers. And I think the conventional printing into 4-2-2-2-6
is just an oddity.
NB. In C++ I used the code

const CLSID clsid =
{0xDEFC92B5,0xD996,0x4EF0,0x82,0xAC,0x5C,0x11,0x10 ,0xF6,0x7B,0xCD};

//Assert(sizeof(clsid)=4*sizeof(DWORD));

DWORD *d = (DWORD*)&clsid;
printf("%lx,%lx,%lx,%lx",d[0],d[1],d[2],d[3]);

--
Lucian
Apr 15 '06 #14

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

Similar topics

0
by: Gaston Fouché | last post by:
ex {System.Runtime.InteropServices.COMException} System.Exception COM object with CLSID {846298BC-047E-48D2-86CF-CDACAB0C9C24} is either not valid or not registered. Ok Im having a strange...
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: Cristina Malavasi | last post by:
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...
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... ...
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
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
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.