Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 710
  • Last Modified:

Can't restore the master database

Hi..

I try to restore my database but some how I got an error message saying
"Microsoft SQL-DMO(ODBC SQLState: 42000)
RESTORE DATABASE must be used in single user mode when trying to restore the database.RESTORE DATABASE is terminating abnormally."

I'm using OS Win XP Pro..and Ms SQL Server 2000 Developers Edition..
What should i do  to resolve this problem?

Herz
0
hernaezia
Asked:
hernaezia
1 Solution
 
SNilssonCommented:

Just like the error say I suppose, set the database in single user mode first.

EXEC sp_dboption 'Master', 'single user', 'TRUE'
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now