BizTalk 2010: BizTalk Server Application Service (BTSNTSvc.exe) fails to start automatically after a system restart

Posted: September 4, 2011 in BizTalk
Tags: , ,

After rebooting the operating system BizTalk Server 2010 services, in my case: “BizTalk Service BizTalk Group: BizTalkServerApplication” fails to start automatically, despite being configured to do so.

BizTalk-service-stopped

This is a Microsoft known Issues with BizTalk Runtime forcing us to manually start the services.

I was hoping that BizTalk 2010 CU2 released in August 31, 2011 resolved this problem, but no such luck.

SOLUTION

In Services.msc set the “Startup type” to “Automatic (Delayed Start)” option in this services:

  • Enterprise Single Sign-On Service

Enterprise-Single-Sign-On-Service

  • And BizTalk Service BizTalk Group : BizTalkServerApplication Service

BizTalk-Server-Application-Service

This behaviour also occurs in BizTalk 2009 and 2006 R2. The solution is the same you should change the start up types for the BizTalk services on all the BizTalk machines in the group to Automatic (Delayed Start).

Thanks Thiago Almeida and Saravana for alerting me that this behaviour also occurs in this previous versions (see Thiago post)

Tags: BizTalk 2010 | Configuration | Errors and Warnings, Causes and Solutions

Comments
  1. DipeshA says:

    Hi Sandro,

    The reason for this is BizTalk service depends on the SSO service which takes a while to start on system start. Since the SSO service doesnt start instantaneously, the BizTalk service fails to start automatically as well.

    Dipesh
    http://dipeshavlani.net

    • Hi Dipesh Avlani,

      First of all thanks for the comment and for the explanation. You are absolutely right!

      However, is not new that BizTalk requires SSO service to start, old versions of the product (2006, 2006 R2, 2009, …) also require this service and in none of them my clients had this problem.

  2. Suruchi says:

    Hi Sandro, does the resolution you provide work. Do the services come up automatically if we change the startup type to Automatic(delayed start) for ESSO and host instances ?

  3. […] few months ago I wrote a post where I explained how the services should be configured and why, I also show how you can configure […]

  4. catherine says:

    it works for me too , thanks

  5. Girish says:

    Hi Sandro, I am facing following issue while importing binding file in BizTalk administrator.

    Log Name: Application
    Source: ENTSSO
    Date: 02/09/2014 10:31:22
    Event ID: 10536
    Task Category: Enterprise Single Sign-On
    Level: Warning
    Keywords: Classic
    User: N/A
    Computer: AAA123
    Description:
    SSO AUDIT
    Function: GetConfigInfo ({234A7EB3-E3EE-4DCA-826C-5DAF9D29EF30})
    Tracking ID: 53c47314-01b1-4ab4-b4a9-217b8596df86
    Client Computer: AAA123 (BTSNTSvc.exe:8428)
    Client User: DEVADMIN\svcFTSBTHIADev
    Application Name: {234A7EB3-E3EE-4DCA-826C-5DAF9D29EF30}
    Error Code: 0xC0002A1F, Cannot perform encryption or decryption because the secret is not available from the master secret server. See the event log for related errors.

    Event Xml:

    10536
    3
    1
    0x80000000000000

    59151
    Application
    AAA123

    GetConfigInfo ({234A7EB3-E3EE-4DCA-826C-5DAF9D29EF30})
    53c47314-01b1-4ab4-b4a9-217b8596df86
    AAA123 (BTSNTSvc.exe:8428)
    DEVADMIN\svcFTSBTHIADev
    {234A7EB3-E3EE-4DCA-826C-5DAF9D29EF30}
    0xC0002A1F, Cannot perform encryption or decryption because the secret is not available from the master secret server. See the event log for related errors.

    Log Name: Application
    Source: ENTSSO
    Date: 02/09/2014 10:31:39
    Event ID: 11016
    Task Category: Enterprise Single Sign-On
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: AAA123
    Description:
    The AuthzInitializeContextFromSid function failed with ERROR_ACCESS_DENIED. This means that the service account that the SSO server is running under does not have sufficient permissions to check group membership in Active Directory. Please check your documentation for details on how to fix this problem.

    Event Xml:

    11016
    2
    1
    0x80000000000000

    59161
    Application
    AAA123

    Log Name: Application
    Source: ENTSSO
    Date: 02/09/2014 10:31:39
    Event ID: 11008
    Task Category: Enterprise Single Sign-On
    Level: Warning
    Keywords: Classic
    User: N/A
    Computer: AAA123
    Description:
    Check group membership failed.
    Group Name: DEVADMIN\GGFTS SSO Administrators
    Account Name: C42726
    Additional Data: 644
    Error Code: 0x80070005, Access is denied.

    Event Xml:

    11008
    3
    1
    0x80000000000000

    59162
    Application
    AAA123

    DEVADMIN\GGFTS SSO Administrators
    C42726
    644
    0x80070005, Access is denied.

    Log Name: Application
    Source: ENTSSO
    Date: 02/09/2014 10:31:39
    Event ID: 11042
    Task Category: Enterprise Single Sign-On
    Level: Warning
    Keywords: Classic
    User: N/A
    Computer: AAA123
    Description:
    Access denied. The client user must be a member of one of the following accounts to perform this function.
    SSO Administrators: DEVADMIN\GGFTS SSO Administrators
    SSO Affiliate Administrators: DEVADMIN\GGFTS Affiliate Administrators
    Application Administrators: DEVADMIN\GGFTS BizTalk Administrators
    Application Users: DEVADMIN\GGFTS Biztalk I Host Users Group
    Additional Data: ADMIN\C42726 {05C6B431-E358-4557-B998-6ED46D430AD4} WCF-CustomIsolated_RL_SABBSIsolatedHost_{05C6B431-E358-4557-B998-6ED46D430AD4}
    Event Xml:

    11042
    3
    1
    0x80000000000000

    59163
    Application
    AAA123

    DEVADMIN\GGFTS SSO Administrators
    DEVADMIN\GGFTS Affiliate Administrators
    DEVADMIN\GGFTS BizTalk Administrators
    DEVADMIN\GGFTS Biztalk I Host Users Group
    ADMIN\C42726 {05C6B431-E358-4557-B998-6ED46D430AD4} WCF-CustomIsolated_RL_SABBSIsolatedHost_{05C6B431-E358-4557-B998-6ED46D430AD4}

  6. Excellent pointer to a vexing issue …

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s