Solved

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

Posted on 2010-11-29
5
303 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

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…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
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.

631 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