【问题标题】:BizTalk Orchestration errorBizTalk 业务流程错误
【发布时间】:2011-03-14 13:56:47
【问题描述】:

我正在使用 BizTalk 编排调用 .Net 类(方法),我收到以下错误:

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>

【问题讨论】:

    标签: c# biztalk biztalk-2010


    【解决方案1】:

    您似乎正在尝试打开或读取一个文件,但它无法找到或您无权访问。

    【讨论】:

    • BizTalk 安装在不同的服务器上,所以我从本地复制 dll 文件并将其放入 Biztalk Server 本地文件夹。然后我从本地文件夹中添加了 BizTalk 资源。所以我不明白为什么它找不到文件。请帮忙。谢谢
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-24
    • 2012-06-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-08-26
    相关资源
    最近更新 更多