Solved

Cannot connect to SQL server using MS SQL Server management studio express

Posted on 2010-11-29
5
298 Views
Last Modified: 2012-05-10
I have installed SQLserver 2005 express on my win xp sp3 32 bit.

Everything was working fine and i was able to login to my server (VIRTUALXP\SQLEXPRESS) using windows authentication. Suddenly I started getting this problem:

Cannot connect to VIRTUALXP\SQLEXPRESS

Additional information

A network-related or instance-specific error occured while establishing a connection to SQL Server. The Server was not found or was not accessible. Verify that 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)(Microsoft SQL Server)
0
Comment
Question by:gs79
  • 4
5 Comments
 

Author Comment

by:gs79
ID: 34235594
How to resolve this. My SQL Server is running and I have added sqlserver.exe to my firewall exceptions..This is crazy..please help me get throuh this..

Thanks,
GS
0
 

Author Comment

by:gs79
ID: 34235660
I have enabled the local and network connections in the SQL 2k5 surface area configeration  and also I have added  UDP port 1434  in the firewall exception
0
 
LVL 5

Accepted Solution

by:
adamsjs earned 500 total points
ID: 34235691
You state that you have added firewall exceptions. Is this Windows Firewall, and is it on the SQL Server host?

Are you able to connect to the SQL Server instance if you disable Windows Firewall?

What changes, if any, were made to the SQL Server host between the time you were able to connect and the time you began experiencing this issue?

Have you looked at this article, which discusses configuring Windows Firewall to allow connections to a SQL Server instance?:  http://technet.microsoft.com/en-us/library/cc646023.aspx  (Note:  There are additional links you can follow from this article with detailed steps for configuring Windows Firewall).
0
 

Author Comment

by:gs79
ID: 34235721
Thank you for your response..

The sql server is installed on a virual windows xp 32 bit.

 I disabled the firewall and I still have the same problem. I will disable it for now as i am using this machine solely for sql server practice

I think when it was working, I had logged in with my network login and was setting a new user (acme_user). After playing with this login i am not able to login either with my network authentication or sql server authentication..

Please help..

Thanks,
GS
0
 

Author Comment

by:gs79
ID: 34235751
Hurray! SQL Server browser had stopped running. Starting this service let me in..

Thanks
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sqlquerystress - To test db performance 8 42
sql 2014,  lock limit 5 32
Need help how to find where my error is in UFD 6 30
SQL Count issue 24 16
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

803 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