Error Locating Server Instance Specified

Connecting to the server through a third party software/interface can give you the following error.

[SQL Native Client]SQL Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF].
[SQL Native Client]Login timeout expired
[SQL Native Client]An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.

This basically means, the SQL Server location setting is wrong. This can be resolved in two ways

  1. Either specify the Server instance (for Named Server

    Example: SERVER = MYPCNAME\SQLEXPRESS

    Example: SERVER = MYPCNAME\SQLEXPRESSTEST

  2. Specify the Computer Name only (for unnamed Server)

    Example: SERVER = MYPCNAME

and

Login failed for user ‘sa’. The user is not associated with a trusted SQL Server connection.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*