1

我是 ESB 2.1 的新手,我正在将 ESB 1.1 项目迁移到 ESB 2.1 和 BizTalk 2010。我已经开发了使用行程文件并将数据推送到 SQL 服务器的应用程序。我没有行程项目 我有行程 xml 文件(行程以 xml 格式导出。)

现在,当我收到的端口获取任何记录时,它会在 C:\Projects\Microsoft.Practices.ESB\Source\Samples\Exception Handling\Test\Filedrop\All_Exceptions\Exceptions_{B240CD10-240B-4CF9-8E58-C231036748F3} 中创建 xml 文件。 xml 包含以下 msg 的 xml。

<Application>MOMIntegration</Application> 
  <Description>Object reference not set to an instance of an object.</Description> 
  <ErrorType>NullReferenceException</ErrorType> 
  <FailureCategory>Routing Failure</FailureCategory> 
  <FaultCode>2111</FaultCode> 
  <FaultDescription>Exception while attempting to work with Itinerary Step</FaultDescription> 
  <FaultSeverity>4</FaultSeverity> 
  <Scope>Construct Routing and Resolutoin Fault Message</Scope> 
  <ServiceInstanceID>3f5e22bc-2402-4f91-8996-22dcec3d4691</ServiceInstanceID> 
  <ServiceName>RGICLMOMIntegrationv2.MOMProcessor</ServiceName> 
  <FaultGenerator>Orchestration</FaultGenerator> 
  <MachineName>WIN-D3LS3QFCT5S</MachineName> 
  <DateTime>2012-10-22T06:00:52.209Z</DateTime> 
  <ControlBit>1</ControlBit> 
  <MessageID>b240cd10-240b-4cf9-8e58-c231036748f3</MessageID> 
  <ActivityIdentity /> 
  <NACK>false</NACK> 
  </Header>
- <ExceptionObject>
  <Message>Object reference not set to an instance of an object.</Message> 
  <Type>System.NullReferenceException</Type> 
  <Source>RGICLMOMIntegrationv2</Source> 
  <TargetSite>Microsoft.XLANGs.Core.StopConditions segment2(Microsoft.XLANGs.Core.StopConditions)</TargetSite> 
  <StackTrace>at RGICLMOMIntegrationv2.MOMProcessor.segment2(StopConditions stopOn) at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)</StackTrace> 
  <InnerExceptionMessage /> 
  </ExceptionObject>

请让我知道我哪里出错了。提前致谢。

4

0 回答 0