Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Datbase is in single_user mode and offline

$
0
0

Hi All

Some one have change database in single user mode and then took offline and now if i try to take it online i get below error.

"Changes to the state or options of database 'TransactorMI' cannot be made at this time. The database is in single-user mode, and a user is currently connected to it."

Details

1. None of Spid is pointing to database

2. When i try to change database to online i can see spid is blocked by another spid (-2) but it doesnt shown in sp_who2 output.

3. I tried to check transactio UOW using but it shows 0000000-00000-00000

4. That means distributed transaction cant be killed as it doesn not exist.

can some one help e to take database online ??


Thanks Saurabh Sinha

http://saurabhsinhainblogs.blogspot.in/

Please click the Mark as answer button and vote as helpful if this reply solves your problem



Viewing all articles
Browse latest Browse all 12963

Trending Articles