Services Without Components Exception on W2k3 Server -
05-02-2006
, 02:30 PM
All,
I'm getting an exception that I can't find any information on.
I get this exception when I try to construct a new
System.EnterpriseServices.ServiceConfig() object.
I'm able run the code that produces this error on multiple WinXP sp2
developer workstations.
I've also thought it was because SWC wasn't supported on the server, but I
was able to create a SWC transaction from within Nunit on the server without
this exception being thrown.
Does anyone have any information on what my next steps should be? Any help
would be appreciated.
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.Runtime.InteropServices.COMException
(0x800401F0): CoInitialize has not been called.
at System.Runtime.InteropServices.Marshal.ThrowExcept ionForHR(Int32
errorCode, IntPtr errorInfo)
at System.EnterpriseServices.Thunk.SWCThunk.IsSWCSupp orted()
at System.EnterpriseServices.Platform.GetFeatureData( PlatformFeature
feature)
at System.EnterpriseServices.Platform.Supports(Platfo rmFeature feature)
at System.EnterpriseServices.ServiceConfig..ctor() |