Issue faced while executing custom Itinerary Selector pipeline

Home Page Forums BizTalk 2004 – BizTalk 2010 Issue faced while executing custom Itinerary Selector pipeline

Viewing 0 reply threads
  • Author
    Posts
    • #25433

      Hi,

      We are using BizTalk 2009 with ESB 2.0.

      I am getting following error while executing custom Itinerary Selector receive pipeline from orchestration.

      Description:

      Cannot find CacheManager instance name Resolver Providers Cache Manager

      Source: Microsoft.Practices.ESB.Resolver.ResolverMgr

      Method: System.Collections.Generic.Dictionary`2[System.String,System.String]

      Resolve(Microsoft.Practices.ESB.Resolver.ResolverInfo, Microsoft.BizTalk.Message.Interop.IBaseMessage, Microsoft.BizTalk.Component.Interop.IPipelineContext)

      Error Source: Microsoft.Practices.EnterpriseLibrary.Common

      Error TargetSite: T BuildUp[T](Microsoft.Practices.ObjectBuilder2.IReadWriteLocator, Microsoft.Practices.ObjectBuilder2.ILifetimeContainer, System.String, Microsoft.Practices.EnterpriseLibrary.Common.Configuration.IConfigurationSource)

      Error StackTrace: at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.EnterpriseLibraryFactory.BuildUp[T](IReadWriteLocator locator, ILifetimeContainer lifetimeContainer, String id, IConfigurationSource configurationSource) at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.LocatorNameTypeFactoryBase`1.Create(String name) at Microsoft.Practices.EnterpriseLibrary.Caching.CacheFactory.GetCacheManager(String cacheManagerName) at Microsoft.Practices.ESB.Cache.Cache`1..ctor(String cacheMgrName) at Microsoft.Practices.ESB.Resolver.ResolverMgr.get_ResolverProviderCache() at Microsoft.Practices.ESB.Resolver.ResolverMgr.GetResolver(ResolverInfo info) at Microsoft.Practices.ESB.Resolver.ResolverMgr.Resolve(ResolverInfo info, IBaseMessage message, IPipelineContext pipelineContext)

       

      Settings of ESB Itinerary selector

      • connection string as BRI

      • ItineraryFactKey as Resolver.Itinerary.

       

      Settings of XML Disassembler

      • Document Schema as Input Schema

       

      Following code is used for calling pipeline: /

      /Microsoft.XLANGs.Pipeline.ReceivePipelineOutputMessages

      RcvPipeOutput = Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteReceivePipeline(typeof(Aon.WebSQP.BTSServiceCaller.AonESBReceivePipeline), Xout);

      // Move to the message

      RcvPipeOutput.MoveNext();

      // Get the updated msg with itinerary assigned

      ItineraryXMLMsg = null;

      RcvPipeOutput.GetCurrent(ItineraryXMLMsg);

      ItineraryXMLMsg(*)=Xout(*);

      // Retrieve the current itinerary

      step. itinerary = new Microsoft.Practices.ESB.Itinerary.SerializableItineraryWrapper();

      step = new Microsoft.Practices.ESB.Itinerary.SerializableItineraryStepWrapper();

      itinerary.Itinerary = Microsoft.Practices.ESB.Itinerary.ItineraryOMFactory.Create(ItineraryXMLMsg); step.ItineraryStep = itinerary.Itinerary.GetItineraryStep(ItineraryXMLMsg);

      // Get resolvers

      resolvers = step.ItineraryStep.ResolverCollection;

      // Get the resolver for this

      message resolver = resolvers[0];

      // Pass the resolver configuration to the Resolver mgr for resolution.

      resolverDictionary = Microsoft.Practices.ESB.Resolver.ResolverMgr.Resolve(ItineraryXMLMsg, resolver);

      // Set the adapter properties

      Microsoft.Practices.ESB.Adapter.AdapterMgr.SetEndpoint(resolverDictionary,ItineraryXMLMsg);

       

      Is there any configuration issue? Please help me on this. Need help uegently.

       

      Regards,

      Netra

Viewing 0 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.