I recently re-installed SSMS on my machine and am able to connect to remote databases. But I cannot connect to the local instance. Neither can I start the MSSQLService from the configuration manager. I had created a service account for it, and I thought that it may have something to do with it, but after switching to the other accounts, (Network Service, etc.), it still wouldn't start. And there are NO error logs in the folder except the old ones from the former installation. Ironically, if I started the service from the command prompt, it would start, and I can connect to it. But when I close the command window, I lose the connection in SSMS. And when I do this, it creates a log file that shows a success. I used windows authentication in both cases. Successful from command line "sqlservr.exe" when window stays open, unsuccessful from configuration manager. I think it started as a console application, even though I didn't use the -c switch on it. Actually, I tried it both ways. Same result. The startup parameters look like this:
-dC:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\master.mdf;-eC:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG;-lC:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
The error is like this, but there is no log file there or anywhere else:
---------------------------
SQL Server Configuration Manager
---------------------------
The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details.
---------------------------
OK
---------------------------
Thank you for any help.