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 = MYPCNAMESQLEXPRESS

    Example: SERVER = MYPCNAMESQLEXPRESSTEST

  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.

This entry was posted in SQL Server 2008, Uncategorized. Bookmark the permalink.

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s