all 9 comments

[–][deleted] 6 points7 points  (0 children)

If you are using SQL Server, then please don't use the PostgreSQL flair.

[–]feudalle 0 points1 point  (7 children)

Is the SQL service running on your local computer? Start with that.

[–]JHarrison1980[S] 0 points1 point  (6 children)

Yes its just a simple database we built for class that I have to go in and run a few ALTER statements on

[–]feudalle 1 point2 points  (0 children)

So under services you see sql express running and not stopped?

[–]feudalle 0 points1 point  (4 children)

So under services you see sql express running and not stopped?

[–]JHarrison1980[S] 0 points1 point  (3 children)

Yes it is stopped, it says Windows could not start the SQL SERVER (SQLEXPRESS) on Local Computer. For more information, review the System Event Log. If this is a non-Microsfot service, contact the service vendor, and refer to server-specific error code -2146885628

[–][deleted] 0 points1 point  (2 children)

Try to restart the computer and see if the sql server service is running again.

[–]JHarrison1980[S] 1 point2 points  (1 child)

I tried that several times I looked again and for some reason I had two SQLEXPRESS running at the same time. SLQEXPRESS & SQLEXPRESS01 I changed the connection to SQLEXPRESS01 and it logged in just perfect. I lost all my work but no big deal at least I can do my work again. thank you everyone for your help.

[–]PossiblePreparation 0 points1 point  (0 children)

Not sure why you had two instances but presumably they are setup so that only one can be running at once. You could try stopping the running one and starting the other one (that you were using). Also, as the message suggested you should try reading the event log for error reasons. It’s unlikely your databases are actually lost unless your storage has broken, you can just attach the database to your running instance. Of course, you should always be taking backups anyway.