Solved

Sharepoint Deployment Error

Posted on 2013-01-29
3
348 Views
Last Modified: 2013-02-18
I have a Sharepoint 2010 development farm & production farm, both SP1, Standard edition.

I am attempting to deploy from development farm to another a site (production farm) which we have developed.  We created a site collection (in the production farm) which was set to use the custom template / to be defined later which normally works fine.  But we accidentally logged into this site and clicked use the team template.  This site was then deleted.  We are now trying to deploy to a different site within the same web app but getting the following error on deployment

There is already an object with the Id XXXX-xxxxxx.....  in the database from another site collection

I have run the following scripts against this web app:

stsadm -o databaserepair -url "http://XXXXXX" -databasename WSS_Content_XXXXX

and

$db = Get-SPDatabase (AAAa-BBBB-XXXXYYYYY)
$db.Repair($false)
$db.Update()

and

$db = Get-SPDatabase (AAAa-BBBB-XXXXYYYYY)
$db.Repair($True)
$db.Update()

We have also detached the DB too, this has not resolved it either.  Does anyone know how to remove this object from the DB?  or an alternative way of resolving this?

thanks

Glynn
0
Comment
Question by:GlynnSutton
  • 2
3 Comments
 
LVL 38

Accepted Solution

by:
Justin Smith earned 500 total points
Comment Utility
One possible option is that the site is in the site recycle bin and is causing a conflict.  Another possible option is the Gradual Site Deletion timer job needs to be run manually (From Central Admin - Monitoring - Job Definitions).

http://blogs.msdn.com/b/chaks/archive/2011/06/30/sharepoint-2010-sp1-site-recycle-bin-ui-experience.aspx
0
 

Assisted Solution

by:GlynnSutton
GlynnSutton earned 0 total points
Comment Utility
Achilles comment is correct but I also had to run a script first

Remove-SPdeletedsite –identity <path or SiteID>
0
 

Author Closing Comment

by:GlynnSutton
Comment Utility
worked well, thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now