HighTechTalks DotNet Forums  

Services Without Components Exception on W2k3 Server

Dotnet Distributed Applications microsoft.public.dotnet.distributed_apps


Discuss Services Without Components Exception on W2k3 Server in the Dotnet Distributed Applications forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Tim Gifford
 
Posts: n/a

Default 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()


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.