Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL 7 SP2 upgrade

Status
Not open for further replies.

nfawcett

ISP
Apr 11, 2007
2
US
I went to upgrade my sql server to sp2. I get this error during the installation.
(red x)
One or more of your user databases have been marked as read only, offline, or suspect (not recovered). Correct the problem and restart setup.
 
Suggest you open Query Analyzer & execute:
sp_helpdb
on the master database.

This will tell you the current state of all databases in the system, and should point you in the direction of the one that is failing.

Once isolated, the database properties can be changed through Enterprise Mgr... Just right-click the database, and select "Properties"...
 
The DBowner is not sa on three of the Great Plains Dynamics databases. Would this cause a problem?
 
Sorry for the delay in writing back.

It shouldn't be - SA is a member of Sysadmins, which means it can do pretty much whatever it likes.

If you want to try it out, change the dbowner back to SA (sp_changedbowner - look in Books on-line for more info.) perform the upgrade & then switch it back again.

Failing that, I suggest you do some checking using the database consistency checker:
DBCC CHECKDB <Database>
Again see BOL for more details.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top