You are here
Home > Programming > Connecting SQL Fails? Did You Hibernate Your PC?

Connecting SQL Fails? Did You Hibernate Your PC?

Connecting SQL Fails after waking your PC from hibernation? Well then the solution might be a really easy one. Here is a quick post on fixing this annoying issue.

Connecting SQL Fails?

If you try to run an application (In my case, a web application) and receive the following error ‘No connection could be made because the target machine actively refused it’, you might have a case of the SQL Server service having stopped.

Connecting SQL Fails

Head on over to the services and look for the SQL Server service. Notice how the status does not state that it is running? Simply start the service and try connecting to your SQL Server again. Incidentally, you will receive the same error when trying to log on to SQL Server Management Studio.

Connecting SQL Fails

Sometimes, the resolution to a problem can be so simple, one easily misses it. If you are having connection issues and you’re sure your connection is correct, make the Services panel your first port of call.

ref img

Dirk Strauss
Dirk is a Software Developer from South Africa. He loves all things Technology and is slightly addicted to Jimi Hendrix. Apart from writing code, he also enjoys authoring books and articles. "I love sharing knowledge and connecting with people from around the world. It's the diversity that makes life so beautiful." Dirk feels very strongly that pizza is simply not complete without Tabasco, that you can never have too much garlic, and that cooking the perfect steak is an art he has almost mastered.
https://dirkstrauss.com

Similar Articles

Top