*Bulletin ID* A2E_176
*Last Review* 05/07/2008
*Revision* 1.0
*Previous IDs* None
*Obsoletes* None

ERROR: Shared Memory Provider: Could not open a connection to SQL Server

Summary

The Add2Exchange SQL Server Express instance could not be reached, most likely due to a logon credentials misconfiguration. This occurs as the result of changing the Service Account password without resetting the logon credentials for the Add2Exchange SQL Server Express instance. You should verify the credentials on the Add2Exchange Service as well.

Symptom

The following errors occur in the Add2Exchange Event Log:

Description:

unable to start the service with current Logon credentials. Please open the SQL Server Configuration Manager, validate the A2ESQLServer database credentials as the A2E Service Account and start the server manually. Then open the Add2Exchange Console to continue.

and:

Description:

Add2Exchange AgentDirectorAn error was encountered trying to establish a connection to the DB, Diagnostic follows:

Error Code: -2147467259 : SQL Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF].

using the following connection string: Provider=SQLNCLI;Server=SERVER\A2ESQLSERVER;Workstation ID=SERVER;Integrated Security=SSPI;Trusted_Connection=yes;Persist Security Info=False;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Use Encryption for Data=False;Tag with column collation when possible=False;MARS Connection=False;DataTypeCompatibility=0;Trust Server Certificate=False;OLE DB Services=-1

or:

Add2Exchange AgentDirector An error was encountered trying to establish a connection to the DB, Diagnostic follows:

Error Code: -2147467259 : Shared Memory Provider: Could not open a connection to SQL Server.

using the following connection string: Provider=SQLNCLI;Server=CCG-SERVER\A2ESQLSERVER;Workstation ID=CCG-SERVER;Integrated Security=SSPI;Trusted_Connection=yes;Persist Security Info=False;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Use Encryption for Data=False;Tag with column collation when possible=False;MARS Connection=False;DataTypeCompatibility=0;Trust Server Certificate=False;OLE DB Services=-1

Description

This error is a result of the Add2Exchange Service being refused a connection to the Add2Exchange SQL Server Express instance. This is due to either the SQL Server instance not being in a running state or from a credential mismatch.

Resolution

Verify that the Add2Exchange SQL Server Express instance is running. Verify the logon credentials for the service.

For details on resetting the logon credentials for the SQL Server Express instance, follow the instructions in the Add2Exchange guide at the following URL:

http://guides.diditbetter.com/a2e-guide/changing_the_service_account_p.htm

Applies To

  • Add2Exchange Enterprise
  • Add2Exchange Standard

Keywords: SQL Server Express 2005