yesterday everything was set my application was running fine but suddenly at midnight the MSSQL 2005 server start giving me an error saying error 40
Code:
error 40 – could not open a connection to SQL server
so i have quickly search the net to solve this up and i got a blog which says go to your configuration manager and check whether MSSQL service is running , so i went there and check the service was not running so i started it, but it fails to start
i have not changed anything and I m just connecting my application to the database and both are local (no remote connection at all)
can any one explain me why this problem occurs and to be more specific how to solve this problem in couple of minutes because i hate that error message.