Solved

SQL Server 2005 - "server not found or not accessible" error message

Posted on 2012-04-02
5
375 Views
Last Modified: 2012-04-03
Hello All,

I am new to SQL Server.  I just installed SQL Server 2005 on a new server, and am trying to access it for the first time so I can attach a database to it.

I'm pretty sure I missed something in the installation because when I bring up Management Studio and try to connect as follows:

Server Type: Database Engine
Server Name: (this is blank so I type in the server's IP address)
Authentication: Windows Authentication
Username: (my credentials)

results in this error message:

A network-related or instance-specific error occurred while establishing a connection to SQL Server.  The server as not found or was not accessible.  Verify that the instance name is correct and that SQL Server is configured to allow remove connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 51)

I've also tried logging on with SQL Server authentication and  the sa password but get a similar error message.

Do I need to run the install again and create a named instance?

Any thoughts appreciated.

brl8
0
Comment
Question by:brl8
  • 2
  • 2
5 Comments
 
LVL 19

Expert Comment

by:Rimvis
ID: 37799658
Hi brl8,

Is this default instance or named instance? Named instance is listening on other port than default 1433. Do you connect over local network? Is firewall enabled on server? Does it allows SQL server? Did you try to connect by using network name instead of IP address?
You should log in to you SQL server and open SQL Server Configuration Manager. Check "SQL Server Network Configuration". You will see enabled protocols and IP addresses/ports that are used.
0
 
LVL 5

Accepted Solution

by:
CarlosDominguez earned 500 total points
ID: 37800429
In SQL Server 2005 you need to configure the "surface". After installing the product you need to open the SQL Server configuration manager and enable tcp/ip and via.
The good and complete explanation and troubleshooting is here: http://support.microsoft.com/kb/914277

Hope it helps.
0
 
LVL 1

Author Comment

by:brl8
ID: 37801250
Hi Carlos,

Thanks for that link.  I began following the steps in the section "Enable remote connections for SQL Server 2005 Express or SQL Server 2005 Developer Edition", but when I click Surface Area Configuration for Services and Connections I get this error message:  "No SQL Server 2005 components were found on the specified computer.  Either no components are installed, or you are not an administrator on this computer. (SQLSAC)"

I'm thinking that something went wrong in the install and I may just start over with a new virtual server.

Thoughts?
0
 
LVL 19

Expert Comment

by:Rimvis
ID: 37801287
So, are you connecting to SQL server with administrator account?
What computer are you trying to manage in Surface Area Configuration? localhost?
0
 
LVL 1

Author Closing Comment

by:brl8
ID: 37801546
I googled the error message I mentioned in my last post, which took me to this link: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=71794.

I did not install the database engine...Doh!

Ran the installer again and selected database services, its all good now!

Thanks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to import SQL 2000 database to SQL 2014 5 162
SQL Restore Script - Syntax Error 8 107
Unable to save view in SSMS 21 81
Better way to filter date  - Query 5 25
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 this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
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…

726 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