?
Solved

Sharepoint Deployment Error

Posted on 2013-01-29
3
Medium Priority
?
371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 38

Accepted Solution

by:
Justin Smith earned 2000 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

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…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

765 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