|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Installer problems on Windows Server 2003, COM not registeredI 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! It's most probably a problem of permission. Check the registry and COM
permissions for your installer. -- Show quoteHTH, Kevin Spencer Microsoft MVP Help test our new betas, DSI PrintManager, Miradyne Component Libraries: http://www.miradyne.net <suse***@gmail.com> wrote in message news:1172733975.217381.6040@8g2000cwh.googlegroups.com... > 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! > |
|||||||||||||||||||||||