Solved

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

Posted on 2012-04-02
5
373 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 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

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now