Solved

Deleting and creatiing root site collection during package pre deployment

Posted on 2013-02-04
2
404 Views
Last Modified: 2013-02-05
Background:
In a vid course I'm taking, it is demonstrating pre-deployment commands for a solution. It is solving the problem of not being able to redeploy a list that is already there. It seems good that SharePoint doesn't let you deploy a list of the same name and I'm guessing it's because you would overwrite the existing data in the list with blank data or whatever data you deploy as part of the solution. However, in a dev environment, you will need to redeploy often and won't have any live data. So the suggestion of this course is that during pre-deployment, you wipe out the root site collection and then recreate it as the first step in the deployment, before solution retraction, add, activate....

Question:
In his example, I do not believe that he has any additional site collections under /sites or anywhere else, but in my case, I have some site collections under /sites. If I delete and create the root site collection, what happens with the other site collections? Do they disappear too? If they stay, are they considered children in some way and therefore will be orphaned or are they only related by falling within the same root url and are therefore pretty much independent except for the common resources they all share?

Thanks.
0
Comment
Question by:BobHavertyComh
2 Comments
 
LVL 38

Accepted Solution

by:
Justin Smith earned 500 total points
ID: 38852742
If you delete a root site collection, the others won't be affected.  They will remain and will not be orphaned.  However, as a best practice, each web app should have a root site collection, even if it's just a place holder site.


__________________________________________________
Follow me on Twitter!  @justinsmith317
0
 
LVL 9

Author Closing Comment

by:BobHavertyComh
ID: 38854259
OK. Just needed to make sure I understand the relationships before deleting anything. So even though one site collection has a url within the other, they are both at the same level in terms of actual hierarchy. Thanks.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sharepoint 2013 - Bulk Add Users 6 77
JavaScript waiting 14 79
SharePoint 2013 Relational Database 8 88
SharePoint Search option? 3 36
A question that is asked often, is how to generate sequential numbers in InfoPath Forms. The best way to achieve this is to use a SQL database, along with a stored procedure and a web service to connect Forms Services to the DB. The first thing t…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
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 …

770 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