Installer problems on Windows Server 2003, COM not registered

S

suse2k5

Hello,

I have problem with Windows installer. It works OK on Windows 2003
without problems and on Windows 2003 with service pack it fails. It
*compiles fine* on dev machine (XP) and when executed (on XP too) it
fails with following error:

Installer error message:
----
The inner exception System.Reflection.ReflectionTypeLoadException was
thrown with the following error message:

One or more of the types in the assembly unable to load..
---

I tracked down source of error to:

Exception info:
---
COM object with CLSID {845FB959-4279-11D2-BF23-00805FBE84A6} is either
not valid or not registered.
at Namespace.Blabla.ServerAdmin..ctor() in
C:\pathto\wmsauthnotifyplugin\serveradmin.cs:line 14
WMSAuthNotifyPlugin

An exception occurred in the OnAfterInstall event handler of
Namespace.BlaBla.PluginInstaller.
System.NullReferenceException: Object reference not set to an instance
of an object.
---

It fails on this line:
server = new WMSServerClass();

I tried to install, register, remove these 3 files wit no success
* WMSServerTypeLib.dll
* Microsoft.WindowsMediaServices.dll
* interop_msxml.dll

I searched trough registry and I can find entry with mentioned
CLSID...

Anyone who can point me in right direction? How should I install dlls
and where, to get installer to work?
Please note that project compiles fine.

thank you!
 
K

Kevin Spencer

It's most probably a problem of permission. Check the registry and COM
permissions for your installer.

--
HTH,

Kevin Spencer
Microsoft MVP

Help test our new betas,
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top