ESB 2.1加载类型问题!!已部署的已测试MAP ..不是有效的地图类型 [英] ESB 2.1 Loading Type Issue !! Deployed Tested MAP ..was not a valid map type

查看:65
本文介绍了ESB 2.1加载类型问题!!已部署的已测试MAP ..不是有效的地图类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的大师,

  

 我有需要从ESB 2.1执行的映射,从BizTalk调用相同的映射和模式类型没有任何问题但是当我在ESB上尝试相同时,
抛出以下异常。

 

类型for< TypeName>,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = 6f835a3699b441a6不是有效的地图类型。

 

来源:Microsoft.Practices.ESB.PipelineComponents.Dispatcher

 

方法:Microsoft.BizTalk.Message.Interop.IBaseMessage执行

 

似乎是ESB试图加载由于某些原因,地图类型使用反射并且没有被加载。

 

- Rajesh Gorla。

推荐答案

你好,

我也面临着类似的问题。



在本地测试地图时,它处理没有任何错误,但是当尝试使用ESB时显示如上所述的错误。以下是完整的错误文本供您参考。


$
< TypeName>的类型,版本= 1.0 .0.0,Culture = neutral,PublicKeyToken = 1161fcce971d2bd1不是有效的地图类型。


$
来源:Microsoft.Practices.ESB.PipelineComponents.Dispatcher



方法:Microsoft.BizTalk.Message.Interop.IBaseMessage执行(Microsoft.BizTalk.Component.Interop.IPipelineContext,Microsoft.BizTalk.Message.Interop.IBaseMessage)



错误来源:Microsoft.Practices.ESB.Itinerary.Services



错误TargetSite:系统。 IO.Stream TransformStream(System.IO.Stream,System.String,Boolean,S ystem.String ByRef) 


$
错误StackTrace:   在Microsoft.Practices.ESB.Itinerary.Services.TransformationService.TransformStream(Stream stream,String mapName,Boolean validate,String& messageType)

  在Microsoft.Practices.ESB.Itinerary.Services.TransformationService.ExecuteTransform(IPipelineContext context,IBaseMessage msg,String mapNameOrResolverString,Boolean validateSource)

   at MyCore.Library.TransformAndRouteService.transform(IPipelineContext context,IBaseMessage msg,String resolverString)

   at MyCore.Library.TransformAndRouteService.Execute(IPipelineContext context,IBaseMessage msg,String resolverString,IItineraryStep step)

  在Microsoft.Practices.ESB.PipelineComponents.Dispatcher.Execute(IPipelineContext context,IBaseMessage msg)

I am also facing the similar issue.

While testing the map locally it processes without any error, But when trying using ESB shows error as above. Following is the full error text for your reference.

The type for <TypeName>, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1161fcce971d2bd1 was not a valid map type.

Source: Microsoft.Practices.ESB.PipelineComponents.Dispatcher

Method: Microsoft.BizTalk.Message.Interop.IBaseMessage Execute(Microsoft.BizTalk.Component.Interop.IPipelineContext, Microsoft.BizTalk.Message.Interop.IBaseMessage)

Error Source: Microsoft.Practices.ESB.Itinerary.Services

Error TargetSite: System.IO.Stream TransformStream(System.IO.Stream, System.String, Boolean, System.String ByRef) 

Error StackTrace:    at Microsoft.Practices.ESB.Itinerary.Services.TransformationService.TransformStream(Stream stream, String mapName, Boolean validate, String& messageType)
   at Microsoft.Practices.ESB.Itinerary.Services.TransformationService.ExecuteTransform(IPipelineContext context, IBaseMessage msg, String mapNameOrResolverString, Boolean validateSource)
   at MyCore.Library.TransformAndRouteService.transform(IPipelineContext context, IBaseMessage msg, String resolverString)
   at MyCore.Library.TransformAndRouteService.Execute(IPipelineContext context, IBaseMessage msg, String resolverString, IItineraryStep step)
   at Microsoft.Practices.ESB.PipelineComponents.Dispatcher.Execute(IPipelineContext context, IBaseMessage msg)


这篇关于ESB 2.1加载类型问题!!已部署的已测试MAP ..不是有效的地图类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆