Solved

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

Posted on 2010-11-29
5
293 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Hurray! SQL Server browser had stopped running. Starting this service let me in..

Thanks
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

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 …
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

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

12 Experts available now in Live!

Get 1:1 Help Now