By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,483 Members | 3,312 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,483 IT Pros & Developers. It's quick & easy.

provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specifie

P: 12

I have a problem trying to connect a remote sql server. The 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)

DEVSQL computer name
RealitySolutions instance name

Using a windows application on a LAN.

my connection string is:
connectionString="server=DEVSQL\REALITYSOLUTIONS; database=ServiceMaster; Integrated Security=True

This is what I have done:
Enabled TCP/IP and named pipes and share memory protocals on my instance in configuratoin management.
surface area configuration I have enabled enabled remote connection using TCP and Named pipes.

I still get the above error message.

Any help will be most grateful, and I think i have tried everything.


Oct 9 '06 #1
Share this Question
Share on Google+
1 Reply

P: 1
try adding port no. 1433 after ur instance...i.e.
it should look like...

"data source=server_name\instance,1433"
hope this will work...
Aug 19 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.