title: BizTalk Orchestration error
body: <p>I am using BizTalk orchestration to call .Net class (method) and I am getting the following error:</p>
  
  <pre><code>xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'g2.interop.abbyy.poc.POC_Orchestration(44aa4941-bbfb-1b34-dfad-19ca74cac233)'.
  The service instance will remain suspended until administratively resumed or terminated. 
  If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
  InstanceId: 72c5b238-d471-42b3-91cc-b92f1dbc73ee
  Shape name: Expression_1
  ShapeId: 8376fc71-46bc-4dba-8b33-3b9c71dfb292
  Exception thrown from: segment 1, progress 10
  Inner exception: The network path was not found.
  
  
  Exception type: IOException
  Source: mscorlib
  Target Site: Void WinIOError(Int32, System.String)
  The following is a stack trace that identifies the location where the exception occured
  
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
  at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
  at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
  at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
  at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext)
  at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
  at g2.interop.abbyy.POCXmlReader.XmlReader.readXml()
  at g2.interop.abbyy.poc.POC_Orchestration.segment1(StopConditions stopOn)
  at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception&amp; exp)
  
  
  Event Xml:
  &lt;Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"&gt;
  &lt;System&gt;
  &lt;Provider Name="XLANG/s" /&gt;
  &lt;EventID Qualifiers="0"&gt;10034&lt;/EventID&gt;
  &lt;Level&gt;2&lt;/Level&gt;
  &lt;Task&gt;0&lt;/Task&gt;
  &lt;Keywords&gt;0x80000000000000&lt;/Keywords&gt;
  &lt;TimeCreated SystemTime="2011-03-14T13:50:18.000000000Z" /&gt;
  &lt;EventRecordID&gt;14814&lt;/EventRecordID&gt;
  &lt;Channel&gt;Application&lt;/Channel&gt;
  &lt;Computer&gt;GCG-devbiztalk.gcdomain.local&lt;/Computer&gt;
  &lt;Security /&gt;
  &lt;/System&gt;
  &lt;EventData&gt;
  &lt;Data&gt;xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'g2.interop.abbyy.poc.POC_Orchestration(44aa4941-bbfb-1b34-dfad-19ca74cac233)'.
   The service instance will remain suspended until administratively resumed or terminated. 
   If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
   InstanceId: 72c5b238-d471-42b3-91cc-b92f1dbc73ee
   Shape name: Expression_1
   ShapeId: 8376fc71-46bc-4dba-8b33-3b9c71dfb292
   Exception thrown from: segment 1, progress 10
   Inner exception: The network path was not found.
  
  
   Exception type: IOException
   Source: mscorlib
   Target Site: Void WinIOError(Int32, System.String)
   The following is a stack trace that identifies the location where the exception occured
  
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at g2.interop.abbyy.POCXmlReader.XmlReader.readXml()
   at g2.interop.abbyy.poc.POC_Orchestration.segment1(StopConditions stopOn)
   at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception&amp;amp; exp)
  
      &lt;/Data&gt;
   &lt;/EventData&gt;
   &lt;/Event&gt;
  </code></pre>