Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Mount-SPContentDatabase : The attach operation cannot continue because another object in this farm already contains the same ID

$
0
0

Hi

in am sharepoint production evironment i taken a backup of a content db and restored to a  new database

then after i created a new web appliation and i dismounted the its content db using powershell

Dismount-SPContentDatabase WSS_Content_SPTEST

after i tried to attach to the restored  content db
Mount-SPContentDatabase  "original_WSS_Content_RealState " -DatabaseServer "sqlpspmc\xyzc" -WebApplication "http://spf01:18810/"

and after i got this error in powershell

Mount-SPContentDatabase : The attach operation cannot continue because another
object in this farm already contains the same ID. Each object in a farm must ha
ve a unique ID. In order to proceed with the attach operation you must assign a
 new ID to this database. To attach this database with a new ID, use the Mount-
SPContentDatabase command with the -AssignNewDatabaseId parameter. Note that if
 this new database and an existing database contain the same site collections,
attaching this database will likely result in orphaned site collections due to
conflicts between the two databases.
At line:1 char:24


adil


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>