regsvcs error - Unknown COM+ 1.0 catalog error - 1. invalid class string

A

Andy Gray

I've got a .net assembly that I need to register with COM+. Use regsvcs and
get the following output :-

Microsoft (R) .NET Framework Services Installation Utility Version
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

An unknown COM+ 1.0 catalog error occurred:
1: Invalid class string



At the same time, an event log error is written

Unable to create System.EnterpriseServices.RegistrationHelperTx (see
exception below). EnterpriseService was not correctly installed. Please
correct the problem and run 'regasm System.EnterpriseServices.dll' again to
install System.EnterpriseServices.

Exception:
'System.EnterpriseServices.ServicedComponentException: The
ServicedComponent being invoked is not correctly configured (Use RegSvcs to
re-register).
at
System.EnterpriseServices.ServicedComponentProxy.FilterConstructors()
at
System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Typ
e serverType)
at
System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Typ
e serverType, Object[] props, Boolean bNewObj)
at
System.EnterpriseServices.RegistrationHelper.TryTransactedInstall(Registrati
onConfig regConfig)'



I tried to run the regasm command on System.EnterpriseServices.dll. Regasm
returned "Types registered successfully" but the following error appeared in
the event log :-

System.EnterpriseServices failed to install. Please fix the problem (see
exception below) and run 'regasm System.EnterpriseServices.dll' again to
install System.EnterpriseServices.

Exception:
'System.Runtime.InteropServices.COMException (0x800401F3): Invalid class
string
at System.EnterpriseServices.Admin.ICatalogCollection.SaveChanges()
at
System.EnterpriseServices.RegistrationHelperTx.InstallUtilityApplication(Typ
e t)'


Now from the fact that this registers correctly on other similar machines,
there is a problem with either COM+ or the .Net install - probably COM+ as
it involves interop and invalid class strings. Any suggestion of how to fix
this without resorting to a machine rebuild?

Thanks
Andy
 

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