?
Solved

SQL Server Access Problem

Posted on 2011-03-16
5
Medium Priority
?
394 Views
Last Modified: 2012-05-11
I just installed SQL Server 2008 R2 Express on a Windows 2008 server. When I attempt to access the server with SQL Server Management Studio, I get the following error message:

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
0
Comment
Question by:dwcummings
  • 3
  • 2
5 Comments
 
LVL 14

Expert Comment

by:Daniel_PL
ID: 35151848
You should connect to <your server name>\SQLEXPRESS
0
 
LVL 3

Author Comment

by:dwcummings
ID: 35157120
Thanks for responding. However, I have tried your suggestion and I still cannot access the database with Management Studio.
0
 
LVL 14

Expert Comment

by:Daniel_PL
ID: 35157162
Sorry for asking but can you verify that sql server services are running in sql server configuration manager?
0
 
LVL 3

Author Comment

by:dwcummings
ID: 35157325
Yes, I have 2, which maybe the source of the problem. SQLExpress and Doorways (the company name). I originally installed SQL Server 2005 Express and then installed SQL Server 2008 Express after removing 2005. However, it didn't seem to completely uninstall the 2005 version and one of the services is a reminent of the 2005 installation.
0
 
LVL 14

Accepted Solution

by:
Daniel_PL earned 2000 total points
ID: 35230440
Please look into Programs and Features in Control Panel to find if any SQL Server 2005 entries are there.
Could you post results from following:

start->run-> (type) cmd

sc query |findstr "SERVICE_NAME"|FIND "MS"
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

840 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