This content database requires upgrade and could not be attached in this operation

I was trying to do a attach database upgrade from SharePoint 2007 to 2010 today and while trying to attach this database from SharePoint 2010 Central adminstration, I got the following error

This content database requires upgrade and could not be attached in this operation. Use either the [stsadm -o addcontentdb] command or [Mount-SPContentDatabase] cmdlet instead.

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: 78ef63ce-f4c4-43bd-86ff-97031cae147b

So I googled as fast as I could for Mount-SPContentDatabase Parameters and found the following from Microsoft’s site (click here for parameter details)

Mount-SPContentDatabase [-Name] [-WebApplication] [-AssignmentCollection ] [-AssignNewDatabaseId ] [-ChangeSyncKnowledge ] [-ClearChangeLog ] [-Confirm []] [-DatabaseCredentials ] [-DatabaseServer ] [-MaxSiteCount ] [-UpdateUserExperience ] [-WarningSiteCount ] [-WhatIf []]

Stsadm equivalent of the same is (click here to parameter details)

stsadm.exe -o addcontentdb
-url
-[-assignnewdatabaseid]
-[-clearchangelog]
-databasename
[-databaseserver ]
[-databaseuser ]
[-databasepassword ]
[-sitewarning ]
[-sitemax ]

Advertisements

One thought on “This content database requires upgrade and could not be attached in this operation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s