Home All Groups Group Topic Archive Search About

Erro while changing database to multi_user mode

Author
30 Apr 2007 6:50 AM
Suresh
Hi,

I'm trying to change database from restricted_mode to multi_user mode. I'm
running the following command:

ALTER DATABASE MyDatabase
SET MULTI_USER WITH ROLLBACK IMMEDIATE

If any user is connected to database, the above statement fails and gives
the error as shown below:

Msg 1222, Level 16, State 28, Line 2
Lock request time out period exceeded.
Msg 5069, Level 16, State 1, Line 2
ALTER DATABASE statement failed.

Why does it happen? Why termination option doesn't work here?

Thanks,
Suresh

AddThis Social Bookmark Button