Feed
Google+
Contact
XING
LinkedIn
Twitter
ICQ
meebo.com

SQL Server 'model' database is read-only

by Roland Schumacher alias GENiALi 14. Februar 2008 -- 221 words  -- 1 mal gelesen

The hard drives are filled on a SQL 2000 Server.
Some databases have been set to read-only.

If you wanted to remove the flag in the database options
came following message.

Error 5063: Database 'model' in in warm standby.

There were quite a few other databases that had this status.

First place was created of course so the server again
does as it should. Then all databases should again from the
read-only mode will be brought. This was but not so easy.

This error message again came. After a restart
the server's were the same databases still in the 'read only'
Status. What do?

By chance I noticed that a detach and attach the database
the problem solved. I don't know whether it is correct. In the Internet
you repeatedly following tip.

restore log with recovery < database >

I wanted to do but not really on a production database.
To do so I missed the experience simply. Neither the detach and attach
I myself but to make.

But database I brought the model so from a State out.
Who could I not detaching. But here helped after the restart of the server's
the following command in Query Analyzer.

use master
restore log model with recovery

Schoen 'model' database is now back in the proper state. :-)

It runs: Lucie Silvas - breathe in-twisting the chain

Tags:

Kommentare sind geschlossen

Statistik

Gesamte Posts: 1025
Dieses Jahr: 7
Diesen Monat: 1
Diese Woche: 0
Kommentare: 929
Total Bewertungen: 91
Ø Bewertung: 4,42
Meisten Kommentare
Google+ ... (28)
Beste Ø Bewertung
Tastaturlayout von Visual Stud ... (5)
Meiste Bewertungen
Windows 7 und die ersten Erfah ... (5)

Buttons

Stop Spam Harvesters, Join Project Honey Pot Benutzerprofil von GENiALi connection speed test network connection Bloggeramt.de Slug.ch Blog Verzeichnis und Blog Webkatalog Schumacher Roland Seitwert Valid XHTML 1.0 Transitional

writing