Sharepoint 2010 moving site collection to different database error
Posted
by
Brandon Ulasiewicz
on Server Fault
See other posts from Server Fault
or by Brandon Ulasiewicz
Published on 2012-10-23T21:25:08Z
Indexed on
2012/10/23
23:02 UTC
Read the original article
Hit count: 226
I am trying to move a site collection from one content database to another content database. First I used the following PowerShell command:
New-SPContentDatabase -Name New_DB -WebApplication http://portal/
I confirmed that this did in fact create the DB in the SQL Server.
I then used the following command:
Move-SPSite http://portal/sites/hr -DestinationDatabase New_DB
This generates an error stating that the "Operation is not valid due to the current state of the object"
Can anyone help point me in the right direction with this?
Thanks
© Server Fault or respective owner