Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
BizTalk 2010和ESB 2.1_Biztalk_Esb Toolkit 2.1 - Fatal编程技术网

BizTalk 2010和ESB 2.1

BizTalk 2010和ESB 2.1,biztalk,esb-toolkit-2.1,Biztalk,Esb Toolkit 2.1,我是ESB2.1新手,我正在ESB1.1项目上迁移到ESB2.1和BizTalk 2010。我开发了一个应用程序,它使用行程文件并将数据推送到SQLServer。我没有行程项目,我有行程xml文件(以xml格式导出的行程) 现在,当我收到的端口获得任何记录时,它将在C:\Projects\Microsoft.Practices.ESB\Source\Samples\Exception Handling\Test\Filedrop\All_Exceptions\Exceptions_uu{B240

我是ESB2.1新手,我正在ESB1.1项目上迁移到ESB2.1和BizTalk 2010。我开发了一个应用程序,它使用行程文件并将数据推送到SQLServer。我没有行程项目,我有行程xml文件(以xml格式导出的行程)

现在,当我收到的端口获得任何记录时,它将在C:\Projects\Microsoft.Practices.ESB\Source\Samples\Exception Handling\Test\Filedrop\All_Exceptions\Exceptions_uu{B240CD10-240B-4CF9-8E58-C231036748F3}.xml中创建xml文件 该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>
mom集成
对象引用未设置为对象的实例。
NullReferenceException
路由失败
2111
尝试使用行程步骤时发生异常
4.
构造路由并解析故障消息
3f5e22bc-2402-4f91-8996-22dcec3d4691
RGICLMIntegrationv2.MOMProcessor
配器
WIN-D3LS3QFCT5S
2012-10-22T06:00:52.209Z
1.
b240cd10-240b-4cf9-8e58-c231036748f3
假的
- 
对象引用未设置为对象的实例。
System.NullReferenceException
RGICLMOMIntegrationv2
Microsoft.XLANGs.Core.StopConditions段2(Microsoft.XLANGs.Core.StopConditions)
位于Microsoft.XLANGs.Core.SegmentScheduler.RunAseSegment(段s,停止条件停止条件停止条件,异常和扩展)的RGICLMOMIntegrationv2.MOMProcessor.segment2(停止条件停止)

请告诉我哪里出了问题。提前感谢。

您的编排中似乎没有实例化变量。检查变量和消息。