Event Id 53530 is logged and connection to SQL database is lost in Skype for Business Server 2015 Persistent Chat Server

Aplica-se a: Skype for Business Server 2015

Symptoms


When you use Microsoft Skype for Business Server 2015 Persistent Chat Server, you may receive the following event:

Time: Date/Time

ID: 53530

Level: Error

Source: LS Persistent Chat Server

Machine: ServerName

Message: The Persistent Chat database connection was lost.

The Skype for Business Server 2015, Persistent Chat lost connection to the database using connection string:

Data Source=sql.contoso.com;Initial Catalog=mgc;Integrated Security=SSPI;

Cause: An unexpected error occurred that caused the loss of the Persistent Chat database connection.

Resolution:

Check the state of the database.

Cause


This issue occurs because the procProcessADUpdates stored procedure takes more than 30 seconds to run. Default Skype for Business Server 2015 Persistent Chat Server time-out is 30 seconds so that the stored procedure execution will be aborted.