Using Windows 2K & XP. My program works on my development machine but no a
client machie.

I've got an app using and Active-X control (MediaPlayer 9). I have it set
to be registered and added to the GAC during installation, which it is. But
upon my app using the control(opening a video file), I get the following
message:

COM object with CLSID {9571D958 - 9BCF - 4E19 - A374 - FC2F 321C8F61} is
either not valid or not registered.

How can I use the CLSID to track down which component it's calling and what
the specific problem is? The COM component is in the GAC and registered but
I still get this message.

thanks

Re: Using CLSID to figure out COM component by Mattias

Mattias
Wed Nov 19 14:55:46 CST 2003


>I've got an app using and Active-X control (MediaPlayer 9). I have it set
>to be registered and added to the GAC during installation, which it is.

What you're adding to the GAC is probably just an interop assembly for
MP9, it contains no implementing code. You must still ensure that MP9
is installed on the machine.


>How can I use the CLSID to track down which component it's calling and what
>the specific problem is?

I'd start by looking at the key

HKEY_CLASSES_ROOT\CLSID\{9571D958-9BCF-4E19-A374-FC2F321C8F61}

in the Registry. But since the error says the component can't be
found, you might not have such a key. In that case, it's definitely an
indication that some dependency has not been installed.



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.