Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 connecting sql server 2008 to visual studio 2008
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

27 Posts

Posted - 03/27/2013 :  05:46:55  Show Profile  Reply with Quote
I cannot connect my server name to server whenever i m connecting error is displayed

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)

can anyone please help to solve this.i am digging my head in the net for all the possible luck..
thanks in advance.

Slow But Sure Yak Herding Master

United Kingdom
3608 Posts

Posted - 03/27/2013 :  06:28:33  Show Profile  Reply with Quote
Can you connect via the IP address/Port Number?

If so, go into SQL Server Configuration Manager on your desktop and add an Alias.

Edited by - RickD on 03/27/2013 06:28:52
Go to Top of Page

Starting Member

27 Posts

Posted - 03/27/2013 :  06:48:57  Show Profile  Reply with Quote
Thankyou for your Reply..Can you please explain to connect via ip address/tcp ip.
I'll tell what I've alreaddy done.
enabled Tcp/ip,in Ip Addres tab,changed the dynamic port from 0 to blank.and tcp port,which is by default windows firewall,add new rule,I added the port to 1433.Then coming back to ssms i checked the connection properties if remote connections possible.
What am I missing now?
And Can I create a new named Instance in the already installed sql server 2008.
Go to Top of Page

Constraint Violating Yak Guru

498 Posts

Posted - 03/27/2013 :  11:43:39  Show Profile  Reply with Quote
In front of Server name
Type <ip address,port number>
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000