You too can be one step closer to having a clean, pristine SharePoint environment! 1 Methods and Solutions for Dealing with Orphaned Sites in a Large Scale.

Slides:



Advertisements
Similar presentations
Introduction to SharePoint for .NET Developer
Advertisements

Upgrade And Migration From Windows Sharepoint Services V2 And Sharepoint Portal Server 2003 Allan Schweighardt Sr. Technology Specialist Microsoft Corporation.
Rick Claus IT Pro Advisor Microsoft Canada Rodney Buike IT Pro Advisor Microsoft Canada
UNIVERSITY OF EDUCATION BY H.M.ISHTIAQ RAFIQUE. Domain Name Structure.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 15 Introduction to Rails.
Fatma Y. ELDRESI Fatma Y. ELDRESI ( MPhil ) Systems Analysis / Programming Specialist, AGOCO Part time lecturer in University of Garyounis,
0 - 0.
©2011 Quest Software, Inc. All rights reserved.. Andrei Polevoi, Tatiana Golubovich Program Management Group ActiveRoles Add-on Manager Overview.
Upgrading to SharePoint 2010 JUNE 2010 SANSPUG.ORG MEETING CHRIS GIVENS.
Resolving Common halFILE Issues. Effective July 11, 2006, Windows 98, Windows 98 Second Edition, and Windows Me (and their related components) will transition.
Top 10 things you need to know about SharePoint Site Administration
Yammer Technical Solutions Overview
Troubleshooting Startup Problems
Site Collection, Sites and Sub-sites
SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
Overview and Demonstration of declarative workflows in SharePoint using Microsoft SharePoint Designer 2007 Kevin Hughes MCT, MCITP, MCSA, MCTS, MCP, Network+,
Eric J. Oszakiewski MCTS: SharePoint Application Development SharePoint Configuration.
© Paradigm Publishing, Inc Access 2010 Level 1 Unit 1Creating Tables and Queries Chapter 2Creating Relationships between Tables.
CC SQL Utilities.
With Folder HelpDesk for Outlook, support centres and other helpdesks can work efficiently with support cases inside Microsoft Outlook. The support tickets.
An overview of Data Warehousing and OLAP Technology Presented By Manish Desai.
Delegated Admin Tool Edit User Profile Training Module.
Designing, Deploying and Managing Workflow in SharePoint Sites Steve Heaney Product Development Manager OBS
Node Lessons Learned James Hudson Wisconsin Department of Natural Resources.
1 BRState Software Demonstration. 2 After you click on the LDEQ link to download the BRState Software you will get this message.
Query Methods (SQL). What is SQL A programming language for databases. SQL (structured Query Language) It allows you add, edit, delete and run queries.
Services Course Windows Live SkyDrive Participant Guide.
Use the tools support uses.
© 2009 GroundWork Open Source, Inc. PROPRIETARY INFORMATION: Information contained herein is not for use or disclosure outside of GroundWork Open Source,
SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
Small Business Server and Windows SharePoint Services David Overton
Customizing the MOSS 2007 Search Results November 2007 Rafael Perez.
Intro to SharePoint 2013 Architecture Liam Cleary.
Upgrading to SharePoint Who, When & Why Considerations: Good candidates for upgrade You need certain 2010 features You have not done significant*
Todd Klindt Solanite Consulting.  WSS MVP since 2006  Speaker, writer, consultant, Aquarius  Personal Blog
SharePoint 2007 Operations Module 1: Introduction.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Backup and Recovery Part 1.
SPC220 Web Template FundamentalsCreating Web Templates Using Web Templates Web Templates and App Webs Wrap Up.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM.
Update your servers to service pack 2. Ensure that the environment is fully functioning. Migrate to 64 bit servers is necessary. REVIEW UPGRADE BEST PRACTICES.
Module 12 Installing and Upgrading to SharePoint 2010.
Module 11 : Backup and Restore Jong S. Bok
EDUCATION YOU CAN TRUST ® Windows SharePoint Services Course Review Review provided by: DNS Computing Services, LLC
The Art of Debugging Shlomy Gantz 02/13/01MDCFUG.
MySQL + PHP.  Introduction Before you actually start building your database scripts, you must have a database to place information into and read it from.
SharePoint 2010 Development Environment A Guide to Setup SharePoint 2010 Development Environment on Windows 7 Machine.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Introduction to Entity Framework Part 2 CRUD Scaffolding Tom Perkins NTPCUG.
ColdFusion Security Michael Smith President TeraTech, Inc ColdFusion, Database & VB custom development
Module 10 Administering and Configuring SharePoint Search.
Module 7 : Configuration I Jong S. Bok
Creating PHPs to Insert, Update, and Delete Data CS 320.
Tips and Tricks for Managing and Administering your Enterprise Project Management Server Solution Mike Joe / Karthik Chermakani Software Test Engineer.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
Protecting SharePoint with System Center Data Protection Manager 2007 Chris Whitehead Premier Field Engineer Microsoft UK.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Administration - I Jong S. Bok
SharePoint Workflow Prepared By: Eng. Rasha Farouk.
Cool CF Debugging Shlomy Gantz 07/29/01CF_ODYSSEY.
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
Module 6: Configuring and Managing Windows SharePoint Services 3.0.
ASP.NET Programming with C# and SQL Server First Edition
What is SharePoint and why you should care
SharePoint Site Admin Training
Migration to SharePoint 2013
SharePoint Online Hybrid – Configure Outbound Search
08 | Configuring SharePoint Online
Presentation transcript:

You too can be one step closer to having a clean, pristine SharePoint environment! 1 Methods and Solutions for Dealing with Orphaned Sites in a Large Scale SharePoint Environment PNNL-SA Jason Meaden IT Engineer, PNNL Collaboration Tools and Services

Introduction – Our Environment Started out with WSS 2.0 Over 750 sites within the first year Both an internal and an external environment Current site count: Over 3200 sites and subsites within our environment Several very large custom web applications and portals, each with custom webparts, solutions, and tools About 2 TB of data 2

Introduction – Our Environment Internal 3 Web Front App Server Index Server SQL

Introduction – Our Environment External 4 SharePoint Server SQL

Orphaned Sites – What Are They? Orphaned objects are sites and/or site collections that dont have corresponding entries in the configuration database. The orphaned site collection data still exists, but the only way to access it is by detaching its content database from the current web application, and then attaching it to a different web application (one that doesnt have a site collection registered at that URL path.) 5

Orphaned Sites – Where Do They Come From? From Microsoft: Site collections typically become orphaned when they are in a content database that is being attached to a Web application, but the Web application already contains a site collection with the same Uniform Resource Locator (URL) path. Because site collections cannot share the same URL path in a Web application, only the first site collection registered in the site map will be accessible. All other site collections that use the same URL path cannot be registered in the site map and are considered orphans. 6

Orphaned Sites – How Can You Tell If You Have Them? Signs to watch for: You run the STSADM –o deletesite command and it fails with the error This site does not exist You run the STSADM –o restore command and it fails with a 0x80040E2F error Error messages on the server By running a SQL query 7

Orphaned Sites – Things Not To Do Never, ever, under any circumstance, directly edit any of your SharePoint databases. Do not manually update records Do not manually insert records Do not manually delete records Dont do it. Ever. 8

Orphaned Sites – Cleanin Em Up The Old School Way (Painful.) Grab the SQL code from here: point-orphans-explained.aspx point-orphans-explained.aspx Open Microsoft SQL Server Management Studio Open up the query, and configure the variables for your environment Execute, and view the results 9

Orphaned Sites – Cleanin Em Up The Old School Way (Painful.) Use this method if you dont have SP2 installed Configuration Database Orphans (Easy Ones) Notify users (perform during an outage window) Remove Configuration Database Add the Configuration Database You can use either Central Administration or Stsadm.exe 10

Orphaned Sites – Cleanin Em Up The Old School Way (Painful.) Content Database Orphans (The Not Easy one.) Ensure that you have a complete and full backup of *everything* Notify users (again, outage window) Determine if the orphaned sites are accessible or not If they are, make a backup of each of them with the STSADM –o backup command Delete the sites with the STSADM –o deletesite command Detach and re-attach the database 11

Orphaned Sites – Cleanin Em Up The Old School Way (Cont.) After re-attaching the database, attempt to find the site again If you find it, delete the site, and detach / re-attach the database. Repeat, until you cant find the orphaned site any more. 12

Orphaned Sites – Cleanin Em Up The Old School Way (Cont.) Restore all of the backed up sites using the STSADM –o restore command Run the FindOrphans SQL query again – cross your fingers that all of the orphaned sites are gone If they are? Youre done! If they arent, time to start from the beginning. 13

Orphaned Sites – Cleanin Em Up The New School Way (Slightly less painful. Hopefully.) Use this method if youve installed SP2 To delete an orphaned site collection named " perform the following steps: Use the STSADM –o enumallwebs operation to find the site whose URL matches "/sites/site_name, and look for the inSiteMap attribute among the information returned 14

Orphaned Sites – Cleanin Em Up The New School Way Look for sites with an InSiteMap attribute that has a value equal to False. This means the site is orphaned. Use the value of the Id attribute from the matching Site tag and use it as the value of the siteid parameter of the deletesite operation. For example: stsadm -o deletesite -force -siteid e2a114b8-80c9-41f6-87bf-3feddf2ad9b6 - databaseserver DS1 -databasename DB1 Perform this for each orphaned site 15

Summary: Use the old method if you dont have SP2 installed Make sure to use the prepare to move command before removing databases if you dont have the Infrastructure Update installed After youve installed SP2, use the new method. Orphaned sites will happen to everyone – but with a bit of patience and knowledge they can be taken care of without too much difficulty! 16

Questions? Comments? 17