web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Async Service won't start error: System.Data.SqlClient.SqlException: Cannot generate SSPI context

(0) ShareShare
ReportReport
Posted on by

Hello,

I am unable to restart my asynchronous services on the crm app server.  I am using the same account for the SQL Server (CRM) service, which restarts fine.  Only the Asynchronous Service has the issue.  

Here is the error message found in the event viewer:

Host CRMUATAP1: failed while starting monitoring asynchronous operations queue. Exception: System.Data.SqlClient.SqlException: Cannot generate SSPI context.
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.Crm.CrmDbConnection.Open()
at Microsoft.Crm.SharedDatabase.DatabaseMetadata.LoadMetadataXmlFromDatabase(CrmDBConnectionType connectionType, String connectionString, Int32& maxBlobSize)
at Microsoft.Crm.ConfigurationDatabase.ConfigurationMetadata.get_Cache()
at Microsoft.Crm.SharedDatabase.DatabaseService.Initialize(String tableName)
at Microsoft.Crm.SharedDatabase.DatabaseService.Retrieve(String tableName, String[] columns, PropertyBag[] conditions)
at Microsoft.Crm.ServerLocatorService.GetSiteSettingIdFromDatabase()
at Microsoft.Crm.ServerLocatorService.GetSiteSettingId()
at Microsoft.Crm.ServerLocatorService.GetSiteSetting(String settingName)
at Microsoft.Crm.Asynchronous.AsyncService.InitializeComponents()
at Microsoft.Crm.Asynchronous.AsyncService.OnStart(String[] args)

*This post is locked for comments

I have the same question (0)
  • Mahendar Pal Profile Picture
    45,095 on at
  • Community Member Profile Picture
    on at

    Hi HIMBAP,

    Yes I had looked at that before.  Removing the Network Service and adding it back doesn't resolve the problem.  I still am unable to restart the service without that error being thrown.

  • Suggested answer
    Satish Tiwari - CRM Profile Picture
    Microsoft Employee on at

    Hi Devin,

    It seems to be a SPN issue. You might need to add a SPN on the Async Service account in order to start it. You can refer to TechNet for more info - technet.microsoft.com/.../hh699825.aspx

    I would also request you to check following things as well:

    1. The MSCRM Asynchronous Service is ran by an AD user account please verify that it is a local administrator on the machine.

    2. Verify this user account is part of the PrivUser group and SQLAccess group.

    3. Check that the account in AD is trusted for delegation.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans