XLANG NullReferenceException !!!

Haulted with my futher development due to this Unknown error....Please advice....TIA

============================================================

Event Type: Error
Event Source: XLANG/s
Event Category: None
Event ID: 0
Date: 8/7/2007
Time: 10:58:28 AM
User: N/A

Description:
NullReferenceException exception occurred while the XLANG/s runtime enlisted a service.
Error messageSurprisebject reference not set to an instance of an object.
Call stack: at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.CreateSubscription(IBTMessageAgentFactory factory, IBTMessageBatchEx batchEx, Guid ServiceID, String ServiceName, String operationName, PredicateGroup[] preds, Object[] portArgs, Int32 priority, Guid convoyId, Boolean canActivateConvoy, Int32 iIndex)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState.PersistState(String mgmtDBServer, String mgmtDBName, String MsgBoxGroupName, String ApplicationName, String serviceAssembly, String serviceTypeName, Guid[] PortIDs, Guid[] LrpIDs, Delegate satAssemblyCacheCallback, ITransaction transaction)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.GoLive(String configDBServer, String configDBName, String msgBoxGroupName, String applicationName, String servicePath, String serviceTypeName, Guid[] portIDs, Guid[] lrpIDs, Delegate satAssemblyCacheCallback, ITransaction transaction)

Exception type: BTXEnlistmentException
Additional error information:

Object reference not set to an instance of an object.

Exception type: NullReferenceException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: System.Guid CreateSubscription(Microsoft.BizTalk.Agent.Interop.IBTMessageAgentFactory, Microsoft.BizTalk.Agent.Interop.IBTMessageBatchEx, System.Guid, System.String, System.String, Microsoft.XLANGs.Core.PredicateGroup[], System.Object[], Int32, System.Guid, Boolean, Int32)
The following is a stack trace that identifies the location where the exception occured

at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.CreateSubscription(IBTMessageAgentFactory factory, IBTMessageBatchEx batchEx, Guid ServiceID, String ServiceName, String operationName, PredicateGroup[] preds, Object[] portArgs, Int32 priority, Guid convoyId, Boolean canActivateConvoy, Int32 iIndex)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXServiceStaticState.PersistState(String mgmtDBServer, String mgmtDBName, String MsgBoxGroupName, String ApplicationName, String serviceAssembly, String serviceTypeName, Guid[] PortIDs, Guid[] LrpIDs, Delegate satAssemblyCacheCallback, ITransaction transaction)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.GoLive(String configDBServer, String configDBName, String msgBoxGroupName, String applicationName, String servicePath, String serviceTypeName, Guid[] portIDs, Guid[] lrpIDs, Delegate satAssemblyCacheCallback, ITransaction transaction)


For more information, see Help and Support Center athttp://go.microsoft.com/fwlink/events.asp.

[3263 byte] By [vai2000] at [2008-1-7]
# 1

Its difficult to figure out a problem just from the exception stack trace.

Did you get this exception when trying to batch EDI messages using BizTalk 2006 R2? If so, pls. check if you have active subscribtion for the batched msg. The filter for such a subscription should have the "EDI.DestinationPartyName = <PartyName>" and "EDI.ToBeBatched = False". You can subscribe to a message through a send port or an orchestration.

-Arnab.

ArnabGhosh-MSFT at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk EDI and AS2...