Solved

Sharepoint Deployment Error

Posted on 2013-01-29
3
354 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
ID: 38831648
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
ID: 38884343
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
ID: 38900863
worked well, thanks
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
Last week I faced a strange issue recently, i have deployed SharePoint 2003 servers for one project and one of the requirements was to open SharePoint site from same server. when i was trying to open site from the same server i was getting authentic…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

778 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