WCF LOB Adapter Error RRS feed

  • General discussion

  • Hi,

    We are frequently getting the following error when using a Custom WCF LOB Adapter. This error started to come up recently over a year after our first go live with the code.

    Exception: System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.ServiceModel.Channels.Common.Design.AdapterCounters.Dispose()
       at Microsoft.ServiceModel.Channels.Common.Design.PerformanceCounters.RegisterSystemID(String systemId)
       at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPoolManager.RegisterConnectionPool(String systemId, ConnectionPool connectionPool)
       at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool..ctor(IConnectionFactory connectionFactory, ConnectionPoolManager manager, String systemId, String secureUriString, ConnectionPoolSettings settings)
       at Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelFactory`1.GetConnectionPool(ConnectionUri connectionUri, String uriString)
       at Microsoft.ServiceModel.Channels.Common.Channels.AdapterRequestChannel..ctor(IAdapterChannelFactory channelFactory, EndpointAddress address)
       at Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelFactory`1.OnCreateChannel(EndpointAddress address, Uri via)
       at System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
       at System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address)

    We are not using any custom connection pooling, and this error seems to be happening on generating the WCF LOB Adapter counters.

    Has anyone ever seen this behavior? What could be causing this?




    • Changed type Andrew_Zhu Monday, July 25, 2011 8:41 AM no reply
    Monday, July 18, 2011 7:31 AM

All replies

  • Hi Mohammed,

    Has their been update to system as in cumulative package being run? What version of BizTalk are you running? Can you elaborate a bit more on your issue?



    Steef-Jan Wiggers
    MVP & MCTS BizTalk Server 2010
    If this answers your question please mark it accordingly

    Monday, July 18, 2011 10:04 AM