Solved

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

Posted on 2010-11-29
5
295 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

895 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

12 Experts available now in Live!

Get 1:1 Help Now