2011-03-14 82 views
0

我使用BizTalk业务流程调用.NET类(方法),我收到以下错误:BizTalk业务流程错误

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& exp) 


Event Xml: 
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> 
<System> 
<Provider Name="XLANG/s" /> 
<EventID Qualifiers="0">10034</EventID> 
<Level>2</Level> 
<Task>0</Task> 
<Keywords>0x80000000000000</Keywords> 
<TimeCreated SystemTime="2011-03-14T13:50:18.000000000Z" /> 
<EventRecordID>14814</EventRecordID> 
<Channel>Application</Channel> 
<Computer>GCG-devbiztalk.gcdomain.local</Computer> 
<Security /> 
</System> 
<EventData> 
<Data>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) 

    </Data> 
</EventData> 
</Event> 

回答

0

貌似你试图打开或读取文件,这两者都可以没有找到或者你没有权限。

+0

BizTalk安装在不同的服务器上,所以我复制我的本地dll文件,并将其放入Biztalk服务器本地foler。然后我从本地文件夹中添加了BizTalk资源。所以我不明白为什么找不到这个文件。请帮忙。谢谢 – developer 2011-03-14 14:39:19

相关问题