Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 All user are disable, can't connect to server

Author  Topic 

Gaui
Starting Member

1 Post

Posted - 2011-05-18 : 13:57:20
Hi

I had generated a script (Tasks -> Generate scripts..) to create a new db from an old one. I didn't realize the script was changing all users to DISABLE, including adm users. Now I can't connect to the server using either Windows Authentication or SQL Server Authentication. Did someone had this problem before? Is there a way to fix it? Thanks in advance.

Bustaz Kool
Master Smack Fu Yak Hacker

1834 Posts

Posted - 2011-05-20 : 12:11:18
We ran into a case of a single database User (sic) becoming disabled. We ended up restarting the SQL Service and it resolved itself. If that doesn't turn the trick you may end up re-generating the database.

BTW, you are saying "User"; did you mean "Login"?

=======================================
Elitism is the slur directed at merit by mediocrity. -Sydney J. Harris, journalist (1917-1986)
Go to Top of Page
   

- Advertisement -