Solved

SQL Server Management studio error 2008

Posted on 2011-03-20
7
367 Views
Last Modified: 2012-05-11
Hi. I installed SQL Server Management Studio 2008 to get rid of an error in my ASP.net project whe connecting to SQL server. When I open SSMS I get the same error
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)
0
Comment
Question by:murbro
7 Comments
 
LVL 13

Expert Comment

by:agarwalrahul
ID: 35177879
0
 
LVL 11

Expert Comment

by:SAMIR BHOGAYTA
ID: 35177949
Hi,

Users often see this error message when connection to a SQL Server and don't know where to start to solve the problem. In most forums, people says this is because remote connection is not enabled on the server. This is not exactly correct. Actually, this error message give customers very specific information and the solution is quite simple.

more on this,

http://blogs.msdn.com/b/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error-locating-server-instance-specified.aspx
0
 

Author Comment

by:murbro
ID: 35179031
I am new to SQL and have no idea how to perform the steps mentioned in that article. Some pointers please!!

1) Make sure your server name is correct, e.g., no typo on the name.
2) Make sure your instance name is correct and there is actually such an instance on your target machine. [Update: Some application converts \\ to \. If you are not sure about your application, please try both Server\Instance and Server\\Instance in your connection string]
3) Make sure the server machine is reachable, e.g, DNS can be resolve correctly, you are able to ping the server (not always true).
4) Make sure SQL Browser service is running on the server.
5) If firewall is enabled on the server, you need to put sqlbrowser.exe and/or UDP port 1434 into exception.

0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 9

Expert Comment

by:jkofte
ID: 35180097
You might have installed a version that does not create an instance for your operating system. try using developer edition for your development environment.
0
 

Author Comment

by:murbro
ID: 35187197
Thanks. How do I do that
0
 
LVL 9

Accepted Solution

by:
jkofte earned 500 total points
ID: 35189986
I assume you are trying to install on an operating system like Win XP or Win 7, not on a server.

There are a few different versions of MS SQL Server. The Developer Edition has the same properties with Enterprise Edition (which is the ultimate version) except that it is for development environment. You need the installation files of the Developer Edition. If you do not have them, you will need a server operating system to install other versions of SQL Server Instance.
Otherwise It will only install the tools only (like SQL Server Managemet Studio) to connect to instances, but it will not install the necessary components that you need the databases to be stored on.

2 options:
Developer Edition (or Express Edition) on XP or 7
Enterprise (or Lower) on a server operating system.
0
 

Author Closing Comment

by:murbro
ID: 35194015
Thanks for the conclusive answer
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question