Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-11-29
5
Medium Priority
?
308 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 2000 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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

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…
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how the fundamental information of how to create a table.

926 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