dbnadm |
... При этом они эффективно заблокированы, так как если юзер пытается законнектится он получает по лбу сообщением - Cannot Open User Default Database, Login Failed. Как пофиксить понятно, но вот почему такая фигня вообще может приключится?! |
the only users are getting these who explicitly doesn't specify initial database in connection string (bad programming style)
Change everyone to tempdb and deal with the problems on per-user basis
OR
restore original master database as a user one (for. ex master_old) and get from it original dbid -> dbname mapping. Then using it reissue for each user proper "default database" statement taking their original dbid from syslogins or play with detach/attach until you get original dbid2dbname mapping on new server (idea from MS article on recovering FT indexes)