BizTalk application migrated to BizTalk 2020 version is not running

Rohit Gaikwad 136 Reputation points

Hello All,

I am working on BizTalk 2020 migration project. One of the BizTalk application migrated to BizTalk 2020 is not running and I am getting below error message in event viewer. Can someone please guide me about this error message. I have gone through lots of forums but didn't find much on this.

*xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'MDR.PARS.MDMONODS.Orchestrations.ProcessStartMDM(bfdde059-36df-c705-b865-07f37913c17d)'.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: 3fb8c0eb-5b27-4a81-9f4e-4078fe39d5b3
Shape name: Initialise Credentials
ShapeId: 9083ac1b-30f5-469a-9c13-6a2f8d92fbcf
Exception thrown from: segment 1, progress 33
Inner exception: Object reference not set to an instance of an object.

Exception type: NullReferenceException
Source: MDR.PARS.MDMONODS.Orchestrations
Target Site: Microsoft.XLANGs.Core.StopConditions segment1(Microsoft.XLANGs.Core.StopConditions)
The following is a stack trace that identifies the location where the exception occured
at MDR.PARS.MDMONODS.Orchestrations.ProcessStartMDM.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)*

Rohit Gaikwad
rohit.gaikwad21@Karima ben .com

Microsoft BizTalk Server
Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
353 questions
{count} votes

Accepted answer
  1. Leo Erlandsson 1,656 Reputation points


    Aha. Then I think you're missing the "SecureAppSettings" in the BizTalk app config.
    That's why you're getting the NullReferenceException:Object reference not set to an instance of an object..

    I guess you had it on the old server.


1 additional answer

Sort by: Most helpful
  1. Leo Erlandsson 1,656 Reputation points


    What kind of Shape is the "Initialise Credentials" shape?

    Is it an Expression shape? What expression / code does it contain?