[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 307
  • Last Modified:

urgent! Suddently can't connect o sql server 2008

Today, all of a sudden, my website stopped connecting to sql server. I did not make any changes it just stopped. I can't even connect to the server via visual studio and I can't connect to sql server using sql management studo on remote machine.

I can however, connect to sql using the server itself. and I can open the website using visual studio on the server itself.

This is the error I am getting:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)

I checked google thrououghly, and I do have remote connections enabled, I do have tcp enabled, I do not have my firewall even turned on. I checked netstat using "netstat -a" and it says its listening on port 1433 and 1434. I did not make any changes to sql server and it has been working fine for the last 4 years! Now all of a sudden I can't connect remotely!

Could I have been hacked? Or just something broke on it? All the data is fine and in tact and I can access it through the server itself, but I need to be able to get it remotely though my websites. Please help I need this up and running fast!

thank you so much
0
mlg101
Asked:
mlg101
  • 3
1 Solution
 
AnuroopsunddCommented:
as your port are listening and you are able to connect locally that means server is working fine.

it can be corrupt TCP/IP stack on the server which making the issue..
0
 
mlg101Author Commented:
How do you diagnose and dix TCP/IP stack? I've never done that
0
 
mlg101Author Commented:
I went to this link and it had an automatic thing to repair the TCP/IP and I did it, but still can't connect to sql server.
http://support.microsoft.com/kb/299357
0
 
Sikhumbuzo NtsadaCommented:
Can you connect locally with another computer?
0
 
mlg101Author Commented:
You were right, and also I had to power cycle my cable modem and router. Your answer got me to thinking that it was a problem with TCP routing, whether it was the stack or just the router bugging out, but I was just worried that it was a hacker or something! so I feel much better now!! thank you so much!!
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now