SQL Server 2012 can't start because of a login failure

后端 未结 7 1770
故里飘歌
故里飘歌 2021-01-29 22:17

I recently installed Microsoft SQL Server 2012 on a fresh Windows 7 installation, but whenever I want to run the server, I get the following error:

Error

7条回答
  •  终归单人心
    2021-01-29 22:52

    The answer to this may be identical to the problem with full blown SQL Server (NTService\MSSQLSERVER) and this is to reset the password. The ironic thing is, there is no password.

    Steps are:

    • Right click on the Service in the Services mmc
    • Click Properties
    • Click on the Log On tab
    • The password fields will appear to have entries in them...
    • Blank out both Password fields
    • Click "OK"

    This should re-grant access to the service and it should start up again. Weird?

    NOTE: if the problem comes back after a few hours or days, then you probably have a group policy which is overriding your settings and it's coming and taking the right away again.

提交回复
热议问题