Sql server all logins are disabled -
i have sa login disabled, , disabled mistake other login used windows authentication (named: [server_name]\[computer_name]). can't access properties of login enable it, , can't run script that...
so now, way reconnect, should reinstall sql server? there other way?
i tried solution: connect sql server when system administrators locked out still unable login after starting sql server in single-user mode.
i solved problem uninstalling features of sql server reinstall them , restore databases.
these steps: 1-run uninstaller , remove data base services , 2 items listed under it. 2-run setup , choose add features existing instance , when reach features page choose removed in previous step. 3-now have fresh sql server accounts , database engine, databases still there, following query can restore them 1 one: use [master] go create database [database_name] on (filename = '...path\dtabase.mdf' attach; go.
Comments
Post a Comment