Click Here To Get Amazing Facebook Profile Covers,Status Messages

SQL Server does not allow remote connections Error 26

1 reply [Last post]
screwu's picture
screwu
User offline. Last seen 2 years 33 weeks ago. Offline
Joined: 10/02/2009

I am using "SQL Server 2005 Express edition" and "SQL Server Management Studio Express" on my windows 2003 server.I cretead a database user and gave it proper authorization.Now i am able to login in Management studio using new user but when i tried to make a connection from an application it throws following error.


Error :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. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Is there any setting which is required in order to allow remote connections.


rajesh's picture
rajesh
User offline. Last seen 12 weeks 6 days ago. Offline
Joined: 08/17/2009
Enable remote connections

in my case solution which workedout is

In START menu go to Microsoft SQL server 2005 -> Configuration Tools -> SQL Server Surface Area Configuration

Click on "Surface Area Configuration for Services and Connections" link

in SQL Server Surface Area Configuration window go to SQLEXPRESS -> Database Engine -> Remote Connections
Select "Local and remote connections" Select protocols as per requirement.