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