Upgrading SharePoint 2010 – Changing Your Host Headers – What It Means To Your Consultant

Part 3 of How I Successfully Upgraded eBay – Previous Blog Post

So what does it mean for you to "retire" an older web application for branding purposes?  It is a simple change in Central Administration, but a nasty proposition when it comes to content in the site and most consultants will take the easy way out and say, no you can't do that (because they know how much work it is and don't really know what will break).  What am I talking about?  Let me give you an example:

  • In 2007, the web application host header was http://abc.contoso.com
  • In 2010, you want it to be http://xyz.contoso.com
  • Moving a content database from one web applicaiton to another with a different name (for service delivery reasons)
  • Moving a site collection from one content database to another content database in a different web application

Again, it is easy to do via Central Administration.  It is easy to do the DNS and add an AAM, but did you think about content?  Huh, what about the content…here's what you didn't think about:

  • Non relative links used in 3rd Party applications (Corasworks) 
  • ASPX pages with non-relative links
  • Content Editor web parts with non-relative links
  • Update custom web part properties with non-relative links
  • Navigation nodes with existing non-relative links
  • Excel and InfoPath with Data Connections

The problem is non-relative links.  It was a big problem in 2007 and in most vendors products that they didn't check the URL of where the code was running and convert the saved content into relative links!  This is a major pain in the ass!  Now you will see in 2010 and in most vendor products, they have learned a VERY valuable lesson.  ALWAYS USE RELATIVE LINKS!

How does one upgrade 10s of 1000s of pages, 1000s of content editor web parts and navigation nodes with the new URLs?  You build a tool of course!  The tool is simple in its requirements:

  • Take an input file of old url to new url 
  • Update all aspx pages with the new links – CHECK
  • Update Content Editor web parts with the new links – CHECK
  • Update custom web parts with links – CHECK
  • Update Navigation nodes with new links – CHECK
  • Update….wait…how to you update Excel and InfoPath? – OH MY…(the topic of the next blog post)

The tool is easy to build, but add in 1000s of sites, 1000s of pages and web parts…you have some problems:

  1. It will take too long for it to update all your resources before the upgrade is finished.  So what do you do to meet your upgrade window?
  2. You have external links that still point to these older urls

The problem has a simple solution.  HttpModules.  All you have to do is intercept the HTTP request and redirect to the proper place.  How do you know where to redirect them?  Same as the tool, use the input file for the tool.  Create a SharePoint list that the HttpModule pulls from that will redirect the request to the proper place.  Here is a coule of examples:

There is an issue here.  You would have two entries in the configuration list:

In this case, the order of replacement matters. If the first entry is applied, they will incorrectly get redirected to http://xyz/HelloWorld.  This is not the desired outcome.  You must redirect in order of most specific first, then to the most generic.  You must also be careful with generic entries.  Suppose you have two web applications:

If you have the following in your configuration list:

You can expect that the requests to http://abc will be redirected properly, but the http://abcdef, will also get redirected and not the way you want.  Also in the case of http://abc->http://abcdef, you would be in a continuous loop of adding http://abc to the redirect and of course, you will eventually overrun the address line in the browser!

Enjoy,
Chris

See next blog post in this series

Upgrading to SharePoint 2010 – Excel Workbooks And InfoPath Forms With Data Connections

Blog #4 in How I Successfully Upgraded eBay to SharePoint 2010 – See Previous Blog In Series

So you decided to move your content databases around eh?  The urls for the site collections and webs are different?  Did you ever think about all those lonely lost users that created InfoPath Forms and Excel Workbooks with Data Connections to lists?   Hmm…probably not!

So what would be the steps to start this massive endeavour?  Well, the first would be to identify all the Excel and InfoPath workbooks in your farm, then you should download all of them, check if they have a data connection, then update them if they do.  Wha?  What if you have 1000s of them?  Damn…you will spend months doing that…good luck!

Wait…Microsoft built us a commandlet for it.  It is called "Update-SPInfoPathUserFileUrl".  What does it do you ask?  Well, it will iterate through all the infopath forms and data connection libraries in your farm and update similar to the Url Updater I talked about in the previous post.  The only problem with this commandlet…IT DOESN"T WORK!  Yes, you heard it right, it doesn't work.  After serveral calls with the product support team, they finally conceded to us this fact.  What is wrong with it you ask, here's a run down:

  • If the data connection library has anything else other than an ODC file, it will fail
  • If the ODC file has a CDATA tag in it (or is not a standard everyday XML file), the tool fails when it tries to create an XMLDocument of the file
  • For no reason at all, it won't update all the files

They submitted some internal bug requests and told us they would try to get us a hotfix (but it would take several weeks).  Unfortunately, that didn't fly very well with us as we had to do the upgrade in two weeks!  So, I wrote our own tool to do it programmatically!  I'll summarize the steps:

  • Find all the InfoPath and Data Connection files in the Farm (across all content databases)
  • Run the tool passing in the same input file of replacement URLs
  • Update the InfoPath Files (which are CAB files by the way) in place in their respective libraries
  • Update the Data Connection (ODC) files, which are simply XML in place

So finding the files is the easy part, here's the script:

#export all aspx files to temp directory
$cdbs = get-spcontentdatabase

$count=0
foreach($cdb in $cdbs)
{
"Exporting file list from " + $cdb.Name

$conn = new-object system.data.sqlclient.sqlconnection $cdb.legacydatabaseconnectionstring.replace("Timeout=15","")
$conn.open()
$cmd = $conn.CreateCommand()
$cmd.CommandTimeout = 4000
$cmd.commandtext = "select DirName, leafname from AllDocs where extensionforfile in ('xsn', 'odc')";
$reader = $cmd.executereader()
$i = 0

while ($reader.read())
{
$line = $cdb.WebApplication.Url + $reader["dirname"] + "/" + $reader["leafname"]
add-content "InfoPathFilesToUpDate.txt" $line
$i++
}

$reader.CLose()
$conn.CLose()
}

Once you have the list of the files you need to update, the rest is easy….relatively speaking [:D].  So what's the next step?  You gotta loop through all these files and determine if they have the old URLs in them.  For an xml file, that is pretty easy.  It's just a text file, but most ODC files are not valid XML files…YUK.  But that's beside the point, its easy to replace the ODC file connection info, just look for the <odc:Connection> element.  Inside of it will be a connection string with the url you are looking for.

Now on to the InfoPath files.  How does one update an InfoPath file without opening it in InfoPath and changing the Data Connection?  You could download it and use the "extract.exe" tool to output the file contents, then rebuild it using "makecab.exe", but wow, that is just too much work.  And yes, I tried it, and it sucked.  Basically Windows still has the ability to have a folder to be "tagged".  Did you ever have that problem with hackers hitting your FTP server and "tagging" it?  You couldn't delete their tag without wipping the entire drive.  Guess what…when extracting certain InfoPath files, you can "tag" your directory.  When making a scrip with a "delete all" files in a folder command errors out more RED than you ever care to see.  So how do you successfully update an InfoPath CAB file?

  • Use the awesome Reflector tool to get the CabinetExtractor class out of the SharePoint dlls for the CommandLet.

This is an entire set of classes specifcally designed to update CAB files in memory. PERFECT!

Once I had the code working, I simply passed in the list of files, checked the manifest.xml file in the InfoPath CAB package for any offending URLs and if they were found, updated the file and then streamed it back into the CAB file.  Then I just upload to the library.  Everything worked like a charm!

NOTE:  Site and List templates are CAB files…internally, they have a version called "3" in them.  Magically, if you change this value to "4", a majority of them will work in 2010…HINT HINT…

Enjoy,
Chris

See next blog post in this series here

The load balancer is not provisioned. Verify the load balancer was provisioned successfully before retrieving endpoint addresses

I ran into this issues the other day at a customer.  It has NOTHING to do with WCF services as this was in an RTM environment.  What actually is happening is the underlying exception is not being filtering up the stack and therefore a generic applicaiton exception is being thrown, in this case the blog title.  This expection could mean anything unfortunately. 

What it was for us, was the SQL Server database was not getting created properly.  We had already existing mdf and ndf files with the same name as the database we were trying to create.  Therefore it would not create the databse and would then return the above error.

Enjoy!
Chris

SharePoint 2010 Upgrade Steps

Here's a reference for the complete steps of a 2007 to 2010 upgrade:

< td class="xl64" height="20" style="background-color: transparent; font-family: Calibri; height: 15pt; color: black; font-size: 11pt; font-weight: 400; text-decoration: none; text-underline-style: none; text-line-through: none; border: #f0f0f0">AssetLibrary.UpgradeDocumentLibrary: Retrieving ViewFileds

4.001
Revert all document content streams.
4.01
Alter tables to support mobile service
Create central admin health rule libraries.
Deprecate features.
Provisioning minimal master page in site:
Provisioning V4 master page in site:
Remove AllDocStreams.Size.
Remove list items that do not belong to any lists or site, or a document library item that does not have an associated document.
Setting UIVersion metadata on existing default master page
Upgrade actions that must act on all Webs.
4.0101
Set wiki pages dirty
Upgrade action to convert the Central Administration site to V4UI.
4.0103
Add Assembly and Class columns to the AllWebParts table.
4.0105
Remove DisallowContentType flag for Posts, Comments list.
4.0106
Remove NameValuePair_NoListId.
4.0107
Add SolutionId column to ContentTypes table.
4.0108
Increasing the column width of SiteUrl Column in ImmedSubscriptions & SchedSubscriptions tables
4.0109
Make Features.Version column non-nullable.
4.011
Adds the Solutions Gallery to the Root Web.
Create the AllLookupRelationships table
Remove document streams that do not belong to any document or item.
4.0111
Update the tp_WebPartTypeId column in AllWebParts table for GroupBoard webparts (again)
4.0112
Update resource usage schema for Beta1
4.0113
Remove columns and procedures related to the obsolete E-Mail Inserts feature.
4.0114
add PointsToDir as part of Links_Backward index.
4.0115
Add WebpartIdProperty column to the AllWebParts table.
4.0116
Upgrade version-related columns in AllDocs table.
4.0117
Add ValidationErrorUrl and ValidationErrorMessage columns to Solutions table.
4.0118
Alter AllDocStreams.InternalVersion to be NOT NULL
4.0119
Add new collations from Windows 2005.
4.012
Add tp_NoThrottleListOperations to AllLists table.
Adds EventReceiver to the Solutions Gallery.
Rename AllDocs.Version to AllDocs.ETagVersion.
4.0121
Alter AllFileFragments table so LOB data is in-row.
4.0122
Add FFMConsistent column to AllDocs.
4.0123
Update computed columns AllDocs.ETagVersion and AllDocs.EffectiveVersion.
4.0124
update Folder's children ItemCount and children folder count
4.0125
Change tp_IsCurrentVersion column to be non computed persisted in AllWebParts table.
4.0126
Marks the Master Page Gallery and Web Page Libraries as Application Lists.
4.0127
Update event receiver assembly registration info for GroupBoard.
4.0128
Creates the FeatureTracking table.
4.0129
Delete the admin tasks webpart from central admin.
This content database does not belong to the admin web application.  Skipping.
4.013
Add Synchronization column to EventReceivers table.
Sets two flags on this SPSite so the Visual Upgrade UI is shown.
4.0131
Remove spurious links from ghosted file content
4.0133
Update event receivers to have WorkflowList HostType.
4.0134
Add ContentVersion column to AllDocs.
4.0135
Add EverEnableDraftListFlags to AllLists.
4.0136
Convert RecycleBin.EffectiveDeleteTransactionId to non-computed column.
4.0137
Mark Navigation cache as dirty since the cache format has changed.
4.0138
Delete AllDocVersions rows with null Content and RbsId.
4.0139
Drop Index for EventSubsMatches table .
4.014
Add AllFileFragments table.
Add ItemId and HostType to EventReceivers index
Removes the farm topology webpart from Central Administration.
4.0142
Refresh file fragment mappings in configuration database.
4.0144
Remove obsolete site-scope instances of gbwwebparts feature from content dabatase.
4.0145
Remove obsolete FileFragment stored procedures, and ensure existing ones are updated due to parameter changes.
4.015
Create the Resources table and add new columns to existing tables for MUI.
Upgrade action to handle updating Product Help Content.
4.016
Adds the Theme Gallery to the Root Web.
Create the AllListUniqueFields table
4.017
Alter the RecycleBin table to support Cascade Deletes
Ensures that features specifying a true value for AutoActivateInCentralAdmin are activated in the Central Admin site.
4.019
Add UIVersion to Webs table and set to 3
Upgrade Quick Launch and the top navigation bar of GroupBoard sites.
4.02
Activate the central admin help collection.
Add Feature version support.
Remove tp_ContentType from AllLists table's tp_Fields column.
The current web application is not the administration web application.  Skipping.
4.021
Delete obsolete list instances of GroupBoard sites.
4.022
Add SolutionId column to EventReceivers and AllWebParts table.
Upgrade the Central Admin site branding.
4.023
Creates the Solutions table.
Restores permissions inheritance to Workflow and Datasource libraries.
4.024
Add a subscription Id column to the Sites table.
Index the DiscussionLastUpdated field in discussion boards.
4.025
Change AssignTo field in Project Task Lists from type User to type MultiUser.
4.026
Add FileFormatMetaInfo column to AllDocs table.
4.028
Change AllFileFragments data column types.
4.0291
Remove unnecessary security table indicies.
4.03
Add upload form for wiki library.
Add WebPart version support.
Upgrade action to handle Central Administration UI changes.
4.031
Drop unused image0x table
4.032
Alter the columns with the type of image, ntext to varbinary(max) and nvarchar(max)
4.033
Ensure SolutionId in EventReceivers clustered index.
4.034
Ensure unique indicies are marked as unique.
4.035
Add resource usage columns to DB
4.036
Add Hash column to Solutions table.
4.037
Create the Aux table and add new columns to existing tables .
4.038
Add MetaInfoVersion column to AllDocs table.
4.039
Add SessionID column to SiteQuota table.
4.04
Adds the Style Library to the Root Web.
Create table DataInformation and populate it with the Id of the database.
Modify LockedBy column to use server id instead of the server name.
4.041
Add Partition column and alter indicies to AllFileFragments.
4.042
Creates the CustomActions table.
4.043
Update uncustomized listview in AllWebParts table to dataview
4.044
Add ValidatorsHash column to Solutions table.
4.045
Add SolutionId column to the Features table.
Update the ParentId column in AllDocs to reflect Discussion Board changes.
4.046
Add Name and Definitions column to the Solutions table.
4.049
Drop tables for document categories feature, which is obsoleted.
4.05
Alter the ntext columns in ContentTypes and AllListsPlus to nvarchar(max)
Narrow the CI – Stage 1 and 2; Replace DirName / LeafName with ParentId / DocId in AllUserdata, AllUserdataJunctions and AllLinks table; Fix indices appropriately
Turning on RBS settings on each content database.
4.051
Add new columns to the AllListsPlus table for list data validation.
4.052
Add the AlternateMUICultures and OverwriteMUICultures columns to the WebsPlus table
4.056
Upgrade the ContentTypes and ContentTypeUsage tables from refactoring work.
4.058
Add new columns to the Workflow table to store the activity details for status visualization.
4.06
Alter the Value column in the DatabaseInformation table from nvarchar(1023) to nvarchar(max).
Update SetupPathVersion Default Constraint from 3 to 4
4.061
Add SolutionGalleryItemId column to the Solutions table.
4.062
Upgrade AllWebParts table and indicies.
4.063
Add SolutionGalleryItemId column to the Solutions table.
4.064
Upgrade AllLists tp_Fields and the tp_ContentTypes field to compressed format.
4.065
Add the SortBehavior column to the AllDocs table.
4.067
Upgrade security tables.
4.068
Sets the NeedToRunFirstInitUpgradeActions flag on all webs so that on their next init, they run the necessary upgrade actions
4.069
Set DefaultItemOpenUseListSetting flag.
4.07
Add tp_Flags column to UserInfo table.
Adding blog month quick launch view web part to page:URL
Adding BlogMonthQuickLaunch web part to page: URL
Begin upgrading blog site collection: URL
Begin Upgrading blog site:
Begin Upgrading Comment List: Comments
Begin Upgrading Field: Post Title
Begin Upgrading Field: Published
Begin Upgrading Lookup Field: Category
Begin Upgrading Lookup Field: Category Id
Begin upgrading module MonthlyViewPage and MonthlyArchivePage
Begin upgrading moduleBasicHome
Begin upgrading moduleCategoryPage
Begin upgrading modulePostPage
Begin Upgrading Post List: Posts
End Adding BlogMonthQuickLaunch web part to page: URL
End upgrading all comment lists fields schema in this blog site
End upgrading all post lists fields schema in this blog site
End upgrading blog site:
End Upgrading Comment List: Comments
End Upgrading Field: Post Title
End Upgrading Field: Published
End upgrading list fields schema in blog site
End Upgrading Lookup Field: Category
End Upgrading Lookup Field: Category Id
End upgrading module: MonthlyViewPage and MonthlyArchivePage
End Upgrading Post List: Posts
Makes sure master pages are marked as dirty so content is upgraded on request.
Upgrade blog sites.
4.071
Upgrade webs to new UI or allow site owners to choose (based on PSConfig option)
4.072
clear tp_ExternalToken because the format is updated.
4.073
Add RBS columns and indexes to DB
4.074
Add FeatureId to customactions table
4.076
Add SharedAccessRequests table.
4.077
Update event receiver assembly registration info from verision 12 to 14.
4.0771
Upgrade EventReceiver table indicies.
4.078
Upgrade indicies on Workflow tables.
4.079
Add the EntityId column to the AllListsPlus table.
4.08
Update Alternate Access Mapping information in database.
4.081
Upgrade indicies on CustomActions table.
4.082
Upgrade partitioning indicies and columns on AllFileFragments table.
4.083
Upgrade ALLWebParts tp_View  to compressed format.
4.085
Upgrade indicies on Docs and Webs.
4.086
Update the tp_WebPartTypeId column in AllWebParts table for GroupBoard webparts
4.087
Change the Properties column in the CustomActions table from xml to nvarchar datatype
4.088
Upgrade indicies on NVP tables.
4.089
Add the CliendId column to the Docs and EventCache tables.
4.09
Add the tp_SourceListId column to UserDataJunctions table.
Change tp_IsCurrentVersion column to be persisted in AllWebParts table.
Getting lookup fields and adding rows to the LookupRelationships table.
4.091
Add SiteDeletion table.
4.092
Changes the Id column in the CustomActions table from a unique index to a nonunique index.
4.093
Upgrade the AuditData indices.
4.094
Change the SortBehavior column in the AllDocs table to be a physical column.
4.095
Add ClientTag to Webs table
4.096
Alter the image column tp_token in userinfo to varbinary(max)
4.097
Set the VIEWFLAG_TABULARVIEW bit in tp_Flags for every HTML WebPart in AllWebParts table, except for a set of SharePoint Foundation lists that explicitly opt out.
4.098
Upgrade AllDocStreams.
4.099
Adds HasAssemblies to the Solutions table.
13.01
Activate new O14 MOSS CMS features
Activate site collection feature f63b7696-9afc-4e51-9dfd-3111015e9a60 on site URL
Begin CmsVersionToVersionFeatureActivationUpgradeAction::UpgradePublishingSite() on site URL.
End CmsVersionToVersionFeatureActivationUpgradeAction::UpgradePublishingSite() on site URL.
OfficeServerBaseSite feature is active, upgrading site URL.
OfficeServerBaseSite or PublishingResources feature is active, upgrading site collection URL.
PublishingResources feature is active, upgrading site URL.
Skipping activate of site-feature 4bcccd62-dcaf-46dc-a7d4-e38277ef33f4 on site URL since it is already active
This site is a PublishingSite, upgrade will be performed.
13.014
Add the picture library to mysitehost
13.016
AssetLibrary.UpgradeDocumentLibrary: Adding field 'ImageHeight' to view 'All Documents' at position '6' on doclib 'Site Collection Images' to replace obsolete O12 field 'ImageHeight'
AssetLibrary.UpgradeDocumentLibrary: Adding field 'ImageWidth' to view 'All Documents' at position '5' on doclib 'Site Collection Images' to replace obsolete O12 field 'ImageWidth'
AssetLibrary.UpgradeDocumentLibrary: Adding field 'ThumbnailOnForm' to view 'All Documents' at position '4' on doclib 'Site Collection Images' to replace obsolete O12 field 'ImageThumbnailDisplay'
AssetLibrary.UpgradeDocumentLibrary: Adding New View
AssetLibrary.UpgradeDocumentLibrary: Found O12 view with name 'All Documents' on doclib 'Site Collection Images' which contains obsolete O12 field 'ImageHeight'
AssetLibrary.UpgradeDocumentLibrary: Found O12 view with name 'All Documents' on doclib 'Site Collection Images' which contains obsolete O12 field 'ImageThumbnailDisplay'
AssetLibrary.UpgradeDocumentLibrary: Found O12 view with name 'All Documents' on doclib 'Site Collection Images' which contains obsolete O12 field 'ImageWidth'
AssetLibrary.UpgradeDocumentLibrary: Retrieving Asset Library Feature
AssetLibrary.UpgradeDocumentLibrary: Retrieving Asset Library Schema
AssetLibrary.UpgradeDocumentLibrary: Retrieving attribute Hidden
AssetLibrary.UpgradeDocumentLibrary: Retrieving Base View ID
AssetLibrary.UpgradeDocumentLibrary: Retrieving Empty View
AssetLibrary.UpgradeDocumentLibrary: Retrieving Parameter Bindings
AssetLibrary.UpgradeDocumentLibrary: Retrieving Parameter Body
AssetLibrary.UpgradeDocumentLibrary: Retrieving Parameter Header
AssetLibrary.UpgradeDocumentLibrary: Retrieving Query
AssetLibrary.UpgradeDocumentLibrary: Retrieving Row Limit
AssetLibrary.UpgradeDocumentLibrary: Retrieving Toolbar
AssetLibrary.UpgradeDocumentLibrary: Retrieving View Name
AssetLibrary.UpgradeDocumentLibrary: Retrieving View Style
AssetLibrary.UpgradeDocumentLibrary: Retrieving view Url to get web part manager
AssetLibrary.UpgradeDocumentLibrary: Retrieving View: All Documents
AssetLibrary.UpgradeDocumentLibrary: Retrieving View: Explorer View
AssetLibrary.UpgradeDocumentLibrary: Retrieving View: Merge Documents
AssetLibrary.UpgradeDocumentLibrary: Retrieving View: Relink Documents
AssetLibrary.UpgradeDocumentLibrary: Retrieving Views
AssetLibrary.UpgradeDocumentLibrary: Retrieving XslLink
AssetLibrary.UpgradeDocumentLibrary: Revised View Name <Summary Views>
AssetLibrary.UpgradeDocumentLibrary: Revised View Name All Assets
AssetLibrary.UpgradeDocumentLibrary: Revised View Name Approve/reject Items
AssetLibrary.UpgradeDocumentLibrary: Revised View Name Explorer View1
AssetLibrary.UpgradeDocumentLibrary: Revised View Name File Dialog View
AssetLibrary.UpgradeDocumentLibrary: Revised View Name My submissions
AssetLibrary.UpgradeDocumentLibrary: Revised View Name Thumbnails
AssetLibrary.UpgradeDocumentLibrary: Saving View
AssetLibrary.UpgradeDocumentLibrary: Upgraded Site Collection Images by adding new view: '<Summary Views>'
AssetLibrary.UpgradeDocumentLibrary: Upgraded Site Collection Images by adding new view: 'All Assets'
AssetLibrary.UpgradeDocumentLibrary: Upgraded Site Collection Images by adding new view: 'Approve/reject Items'
AssetLibrary.UpgradeDocumentLibrary: Upgraded Site Collection Images by adding new view: 'Explorer View1'
AssetLibrary.UpgradeDocumentLibrary: Upgraded Site Collection Images by adding new view: 'File Dialog View'
AssetLibrary.UpgradeDocumentLibrary: Upgraded Site Collection Images by adding new view: 'My submissions'
AssetLibrary.UpgradeDocumentLibrary: Upgraded Site Collection Images by adding new view: 'Thumbnails'
AssetLibrary.UpgradeDocumentLibrary: View <Summary Views> found
AssetLibrary.UpgradeDocumentLibrary: View All Assets found
AssetLibrary.UpgradeDocumentLibrary: View Approve/reject Items found
AssetLibrary.UpgradeDocumentLibrary: View Explorer View found
AssetLibrary.UpgradeDocumentL
ibrary: View File Dialog View found
AssetLibrary.UpgradeDocumentLibrary: View My submissions found
AssetLibrary.UpgradeDocumentLibrary: View Thumbnails found
Begin CmsVersionToVersionImageLibraryUpgradeAction::UpgradePublishingSite() on site URL.
Begin Delete field 664151a8-54ff-434c-a59a-401d3a00dd79
Begin Delete field abb77a79-8021-405c-8bd1-45403fd6cf98
Begin Delete field bcde52ea-bd4f-4a2a-9f50-3224d3bd2778
Begin Delete field fe5429dc-cd77-4dc4-b24c-c82105ae3b36
Begin Delete field if internal name different 1944c034-d61b-42af-aa84-647f2e74ca70 – ImageHeight
Begin Delete field if internal name different 7e68a0f9-af76-404c-9613-6f82bc6dc28c – ImageWidth
Begin Delete field if internal name different 922551b8-c7e0-46a6-b7e3-3cf02917f68a – ImageSize
Begin: Add Content Type 0x0101009148F5A04DDD49CBA7127AADA5FB792B00291D173ECE694D56B19D111489C4369D to list Site Collection Images (6d9b8a64-f93d-4436-9c5c-8e5daac0e2be).
Begin: Add Content Type 0x0101009148F5A04DDD49CBA7127AADA5FB792B006973ACD696DC4858A76371B2FB2F439A to list Site Collection Images (6d9b8a64-f93d-4436-9c5c-8e5daac0e2be).
Begin: Add Content Type 0x0101009148F5A04DDD49CBA7127AADA5FB792B00AADE34325A8B49CDA8BB4DB53328F214 to list Site Collection Images (6d9b8a64-f93d-4436-9c5c-8e5daac0e2be).
End CmsVersionToVersionImageLibraryUpgradeAction::UpgradePublishingSite() on site URL.
End Delete field 664151a8-54ff-434c-a59a-401d3a00dd79
End Delete field abb77a79-8021-405c-8bd1-45403fd6cf98
End Delete field bcde52ea-bd4f-4a2a-9f50-3224d3bd2778
End Delete field fe5429dc-cd77-4dc4-b24c-c82105ae3b36
End Delete field if internal name different 1944c034-d61b-42af-aa84-647f2e74ca70 – ImageHeight
End Delete field if internal name different 7e68a0f9-af76-404c-9613-6f82bc6dc28c – ImageWidth
End Delete field if internal name different 922551b8-c7e0-46a6-b7e3-3cf02917f68a – ImageSize
End: Add Content Type 0x0101009148F5A04DDD49CBA7127AADA5FB792B00291D173ECE694D56B19D111489C4369D to list Site Collection Images (6d9b8a64-f93d-4436-9c5c-8e5daac0e2be).
End: Add Content Type 0x0101009148F5A04DDD49CBA7127AADA5FB792B006973ACD696DC4858A76371B2FB2F439A to list Site Collection Images (6d9b8a64-f93d-4436-9c5c-8e5daac0e2be).
End: Add Content Type 0x0101009148F5A04DDD49CBA7127AADA5FB792B00AADE34325A8B49CDA8BB4DB53328F214 to list Site Collection Images (6d9b8a64-f93d-4436-9c5c-8e5daac0e2be).
Field not found. fieldId: 1944c034-d61b-42af-aa84-647f2e74ca70
Field not found. fieldId: 7e68a0f9-af76-404c-9613-6f82bc6dc28c
Field not found. fieldId: 922551b8-c7e0-46a6-b7e3-3cf02917f68a
Found Content Type 0x0101009148F5A04DDD49CBA7127AADA5FB792B00291D173ECE694D56B19D111489C4369D.
Found Content Type 0x0101009148F5A04DDD49CBA7127AADA5FB792B006973ACD696DC4858A76371B2FB2F439A.
Found Content Type 0x0101009148F5A04DDD49CBA7127AADA5FB792B00AADE34325A8B49CDA8BB4DB53328F214.
This site is a PublishingSite, upgrade will be performed.
Upgrade site collection and web images doclibs to add new content types and views
13.018
Add tagprofile.aspx page to My Site Host
13.02
Add indexes on fields in O12 lists that are required in O14
Adding index to field: 'DeliveryDate' for list: 'Notification Pages'
Adding index to field: 'JobId' for list: 'Quick Deploy Items'
Adding index to web.Fields[
Adding NVP indexes for fields on lists in web: URL
ENTER —  CmsVersionToVersionFieldIndexSiteAction::Upgrade(SPSite)
ENTER —  CmsVersionToVersionFieldIndexSiteAction::Upgrade, site = URL
ENTER —  V2VRecordCenterUpgradeSiteAction::Upgrade, site = URL
EXIT —  CmsVersionToVersionFieldIndexSiteAction::Upgrade(SPSite)
Finished adding NVP indexes for fields on lists in web: URL
Finished indexing web fields on web: URL
Indexing web fields on web: URL
LEAVE —  CmsVersionToVersionFieldIndexSiteAction::Upgrade, site = URL
LEAVE —  V2VRecordCenterUpgradeSiteAction::Upgrade, site = URL
PublishingResources feature is active.  Creating indexes.
Setting field 'DeliveryDate' to be indexed
Setting field 'JobId' to be indexed
Setting field 'Show in drop-down menu' to be indexed and pushing changes down to lists.
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
SiteAction: ShouldUpgradeWebs() returned true, iterating over the webs.
SiteAction: Skipping upgrade of web: URL
This site has PublishingResources active, upgrading
Upgrade Record Centers to have new features activated and use new advanced routing.
V2VRecordCenterUpgradeSiteAction::ShouldUpgradeWeb(SPWeb), web = URL is not a Record Center.  Skipping.
13.021
Activate feature 73ef14b1-13a9-416b-a9b5-ececa2b0604c on URL
Activate new O14 MOSS features
ENTER —  VersionToVersionFeatureActivationSiteAction::Upgrade, site = URL
LEAVE —  VersionToVersionFeatureActivationSiteAction::Upgrade, site = URL
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
Upgrading site collection URL for taxonomy.
13.022
Removing the PortalLayouts feature from MySite and MySiteHost Site Collections
13.026
Activate new post-M1DF O14 CMS features
Begin CmsPostM1DFFeatureActivationSiteAction::Upgrade() on site URL.
End CmsPostM1DFFeatureActivationSiteAction::Upgrade() on site URL.
ENTER —  CmsPostM1DFFeatureActivationSiteAction::Upgrade, site = URL
LEAVE —  CmsPostM1DFFeatureActivationSiteAction::Upgrade, site = URL
OfficeServerBaseSite feature is active, upgrading site collection URL.
OfficeServerBaseSite feature is active, upgrading site URL.
PublishingResources feature is active, upgrading site URL.
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
Skipping activate of feature 068bc832-4951-11dc-8314-0800200c9a66 on URL since it is already active
13.03
ENTER —  V2VReportTemplatesUpgradeSiteAction::Upgrade, site = URL
ENTER — V2VReportTemplatesUpgradeSiteAction::Upgrade(SPSite), site = URL
LEAVE —  V2VReportTemplatesUpgradeSiteAction::Upgrade, site = URL
LEAVE — V2VReportTemplatesUpgradeSiteAction::Upgrade(SPSite), site = URL
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
V2VReportTemplatesUpgradeSiteAction: Root web URL has a reporting gallery provisioned already.
V2VReportTemplatesUpgradeSiteAction: Updating report templates for root web URL
13.032
ENTER —  Upgrade QuickAddGroups field
ENTER —  UpgradeQuickAddGroups::Upgrade, site = URL
EXIT —  Upgrade QuickAddGroups field
LEAVE —  UpgradeQuickAddGroups::Upgrade, site = URL
Removing all existing choices
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
Upgrade QuickAddGroups field
Upgrading web part catalog on site: URL
13.033
ENTER —  CmsContentDeploymentSiteAction::Upgrade, site = URL
LEAVE —  CmsContentDeploymentSiteAction::Upgrade, site = URL
SiteAction: ShouldUpgrade() returned false, skip upgrade.
Upgrade lists used by the Content Deployment feature.
13.034
Change PartOrder in tagprofile.aspx page to My Site Host
13.036
ENTER —  VersionToVersionModifyFieldIndexOnRelationshipListSiteAction::Upgrade(SPSite)
ENTER —  VersionToVersionModifyFieldIndexOnRelationshipListSiteAction::Upgrade, site = URL
EXIT —  VersionToVersionModifyFieldIndexOnRelationshipListSiteAction::Upgrade(SPSite)
LEAVE —  VersionToVersionModifyFieldIndexOnRelationshipListSiteAction::Upgrade, site = URL
PublishingResources feature is active.  Check the Relationship List.
Remove the index on the GroupID column, then add two new columns: GroupGuid (indexed) and LastPropagatedSourcePageVersion in the Relationship List
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
Successfully add and index the GroupGuid field on the relationship list in site URL
Successfully add the LastPropagatedSourcePageVersion field on the relationship list in site URL
Successfully fill-in the GroupGuid field with GroupID field on the relationship list in site URL
Successfully un-index the GroupID field and set it as Non-required field on the relationship list in site URL
This site has PublishingResources active, upgrading
13.037
ENTER —  RemoveReportCenterCreation::Upgrade, site = URL
LEAVE —  RemoveReportCenterCreation::Upgrade, site = URL
Remove Report Center Creation
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
SiteAction: ShouldUpgradeWebs() returned true, iterating over the webs.
13.038
Activate Ratings feature
ENTER —  RatingsActivationSiteAction::Upgrade, site = URL
Force activate feature 915c240e-a6cc-49b8-8b2c-0bff8b553ed3 on URL
Force deactivate feature 915c240e-a6cc-49b8-8b2c-0bff8b553ed3 on global portal /
LEAVE —  RatingsActivationSiteAction::Upgrade, site = URL
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
13.042
ENTER —  MySiteWebPartGalleryUpgrader::Upgrade, site = URL
LEAVE —  MySiteWebPartGalleryUpgrader::Upgrade, site = URL
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
Upgrade MySite Webpart gallery to remove the 'Get Started with My Site' webpart
13.043
Ensure the deprecated MOSS v3 templates continue to use v3 UI by default
13.046
Add the Sites node to the quick launch of all My Sites.
13.047
Remove Organization.aspx page from My Site Host.
13.048
Upgrade MySite Host TopNavig
ation and Quicklaunch
13.05
Activate any new O14 features that are stapled to all site templates. Also activate any O14 features that are stapled to Records Center site templates.
Activate feature 7201d6a4-a5d3-49a1-8c19-19c4bac6e668 on URL
ENTER —  V2VFeatureActivation2UpgradeSiteAction::Upgrade, site = URL
ENTER — V2VFeatureActivation2UpgradeSiteAction::Upgrade(SPSite), site = URL
ENTER — V2VFeatureActivation2UpgradeSiteAction::UpgradeWeb(SPWeb), web = URL
LEAVE —  V2VFeatureActivation2UpgradeSiteAction::Upgrade, site = URL
LEAVE — V2VFeatureActivation2UpgradeSiteAction::Upgrade(SPSite), site = URL
LEAVE — V2VFeatureActivation2UpgradeSiteAction::UpgradeWeb(SPWeb), web = URL
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
SiteAction: ShouldUpgradeWebs() returned true, iterating over the webs.
SiteAction: Upgrading web: URL
Skipping activate of feature 0c8a9a47-22a9-4798-82f1-00e62a96006e on URL since it is already active
Skipping activate of feature 5bccb9a4-b903-4fd1-8620-b795fa33c9ba on URL since it is already active
V2VFeatureActivation2UpgradeSiteAction: Site URL has DocumentRoutingResources (0c8a9a47-22a9-4798-82f1-00e62a96006e) active. Skipping because Routing Rule content type is up-to-date.
V2VFeatureActivation2UpgradeSiteAction::ShouldUpgradeWeb(SPWeb), web = URL not a blank site. Activating the webFeaturesToActivateEverywhereExceptBlank feature collection.
13.051
Upgrade My Site Personal Page webparts
13.052
Upgrade MySite Blog Sites
13.053
Activating feature 6928b0e5-5707-46a1-ae16-d6e52522d52b
Entering MySitePersonalizationUpgrader upgrade for site collection URL
Entering MySitePersonalizationUpgrader upgrade for site URL
Reactivating feature 6adff05c-d581-4c05-a6b9-920f15ec6fd9
Setting web masterpage to mysite.master for URL
Upgrade MySite Personalization Sites
Upgrading Web UIVersion
13.054
Upgrade My Site Network Page webparts
13.055
Upgrade My Site Public Page webparts
13.056
ENTER —  MySiteWebPartDwpUpgrader::Upgrade, site = URL
Force upload the new dwp files to personal site webpart gallery
LEAVE —  MySiteWebPartDwpUpgrader::Upgrade, site = URL
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
13.057
ENTER —  TaxonomyAllowDeletionUpgrader::Upgrade, site = URL
LEAVE —  TaxonomyAllowDeletionUpgrader::Upgrade, site = URL
Not upgrading on V2V upgrade, skipping  URL
SiteAction: ShouldUpgrade() returned false, skip upgrade.
Upgrade Taxonomy features to Beta 2
13.058
ENTER —  MySiteQuickLaunchUpgrader::Upgrade, site = URL
LEAVE —  MySiteQuickLaunchUpgrader::Upgrade, site = URL
Remove empty Lists, Discussions, Surveys and Sites nodes from MySite Quicklaunch
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
13.059
Change the default Site Logo Url for MySite, MySiteHost and Personalization site templates
ENTER —  MySiteSiteLogoUrlUpgrader::Upgrade, site = URL
LEAVE —  MySiteSiteLogoUrlUpgrader::Upgrade, site = URL
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
13.06
Activate the Taxonomy Term Management Tool link on tenant admin webs.
ENTER —  ActivateTaxonomyTenantAdminLinkFeature::Upgrade, site = URL
ENTER —  V2VHoldsUpgradeSiteAction::Upgrade, site = URL
LEAVE —  ActivateTaxonomyTenantAdminLinkFeature::Upgrade, site = URL
LEAVE —  V2VHoldsUpgradeSiteAction::Upgrade, site = URL
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
SiteAction: ShouldUpgradeWebs() returned true, iterating over the webs.
SiteAction: Skipping upgrade of web: URL
Upgrade Record Centers to have holds feature work for O14
V2VHoldsUpgradeSiteAction::ShouldUpgradeWeb(SPWeb), web = URL is not a Record Center or does not contain holds.  Skipping.
13.061
ENTER —  ContentTypeSyndicationListUpgrader::Upgrade, site = URL
Found syndication log list on site URL
LEAVE —  ContentTypeSyndicationListUpgrader::Upgrade, site = URL
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
Updated the content type subscriber site. URL
Updates lists used in content type syndication
Updating the content type subscriber site. URL
13.062
Change PartOrder on tagprofile.aspx for Beta2 UX
13.063
Remove tagexplorer.aspx page from My Site Host.
13.064
Allow users to edit master pages and layouts by default on Publishing sites.
ENTER —  AllowMasterPageEditingAction::Upgrade(SPSite)
ENTER —  AllowMasterPageEditingAction::Upgrade, site = URL
EXIT —  AllowMasterPageEditingAction::Upgrade(SPSite)
LEAVE —  AllowMasterPageEditingAction::Upgrade, site = URL
PublishingResources feature is active.  Set the SPSite's AllowMasterPageEditing property.
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
This site has PublishingResources active, upgrading
13.065
Checking syndication log list on URL
Creates content type syndication log list if it does not exist.
ENTER —  ContentTypeSyndicationLogListUpgrader::Upgrade, site = URL
LEAVE —  ContentTypeSyndicationLogListUpgrader::Upgrade, site = URL
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
The syndication log list looks good on URL
13.066
Adjust permissions on publishing root site.
Attempting to find Style Resource Readers group, localized name: Style Resource Readers
Enabled AllowEveryoneViewItems on SiteCollectionImages library.
ENTER —  PublishingPermissionsAction::Upgrade(SPSite)
ENTER —  PublishingPermissionsAction::Upgrade, site = URL
EXIT —  PublishingPermissionsAction::Upgrade(SPSite)
LEAVE —  PublishingPermissionsAction::Upgrade, site = URL
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
This site has PublishingResources active, upgrading
13.067
ENTER —  B2BUpgradeKeywordsField::Upgrade(SPSite)
ENTER —  B2BUpgradeKeywordsField::Upgrade, site = URL
EXIT —  B2BUpgradeKeywordsField::Upgrade(SPSite)
LEAVE —  B2BUpgradeKeywordsField::Upgrade, site = URL
Site URL has TaxonomyFeature, upgrading
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
Updating keywords field for Site URL
Upgrade the name and description of the existing Managed Keywords field
13.07
Begin CmsVersionToVersionPublishedLinksListUpgradeAction::UpgradePublishingSite() on site URL.
End CmsVersionToVersionPublishedLinksListUpgradeAction::UpgradePublishingSite() on site URL.
ENTER —  V2VRetentionPolicyUpgradeSiteAction::Upgrade, site = URL
Finished creating Published Links list on site URL.
LEAVE —  V2VRetentionPolicyUpgradeSiteAction::Upgrade, site = URL
Published Links list does not exist on Site URL, creating it.
Site URL is a PublishingSite, checking for the PublishedLinks list.
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
SiteAction: ShouldUpgradeWebs() returned true, iterating over the webs.
SiteAction: Upgrading web: URL
This site is a PublishingSite, upgrade will be performed.
Upgrade Record Center policies to no longer be able to set expiration date externally
Upgrade SSP Published Links list to add Asset Library as a link type
V2VRetentionPolicyUpgradeSiteAction. Content type System skipped since it does not contain policy
V2VRetentionPolicyUpgradeSiteAction. Site URL skipped since it does not contain site collection policy
V2VRetentionPolicyUpgradeSiteAction::ShouldUpgradeWebs(): Site URL has retention policy. Upgrading.
13.08
Activate new OOB workflows with existing sites on V2V upgrade.
14.01
1.Add tabs list to the SearchCenterLite site template 2.Visual upgrade search center 3.Remove site admin links in search center webs
Activate feature c04234f4-13b8-4462-9108-b4f5159beae6 on URL
Activate feature e995e28b-9ba8-4668-9933-cf5c146d7a9f on URL
Activate Mobile Wac feature
Activate Web Analytics feature
ENTER —  WebAnalyticsActivationSiteAction::Upgrade, site = URL
Enter: ConsolidatedSearchCenterSiteActions:Upgrade()
Excel Mobile Viewer upgrade completed.
Executing site action 'SearchCenterVisualUpgrade'
Exit: ConsolidatedSearchCenterSiteActions:Upgrade()
Feature e995e28b-9ba8-4668-9933-cf5c146d7a9f is activated on URL
Found a SPWeb based on the SRCHCEN or SRCHCENTERLITE site template 'Search Center'. The UIVersion of SRCHCEN or SRCHCENLITE is: '3'
LEAVE —  WebAnalyticsActivationSiteAction::Upgrade, site = URL
Perform Excel
Mobile Viewer upgrade.
SiteAction: ShouldUpgrade() returned true, upgrade will be performed.
Upgrading BI Monitoring KPIs from V14 Beta 1 to V14 Beta2
14.02
Upgrading BI Monitoring Filters from V14 Beta 1 to V14 Beta2
14.03
Upgrading BI Monitoring Excel Services Reports from V14 Beta 1 to V14 Beta2
14.05
AdminReports library recreation
Enter: SearchHealthReportUpgrade:Upgrade()
Exit: SearchHealthReportUpgrade:Upgrade()
SearchHealthReportUpgrade: get site
14.06
Beta2 -> RTM AdminReports library upgrade
Enter: SearchHealthReportB2RTMUpgrade:Upgrade()
Exit: SearchHealthReportB2RTMUpgrade:Upgrade()
SearchHealthReportB2RTMUpgrade: get site

   

Enjoy,
Chris

Latest SharePoint Jokes

Here's my latest attempt to lighten up the SharePoint community.  You can check out my blockbuster first of a kind 2007 jokes.

  • After installing SharePoint 2010 and running the Farm Configuration Wizard, IT found that users were not able to load Excel Workbooks in the browser.  When IT called Microsoft support, they replied:
    • "Ok, this is very good, this won't take a minute…"
  • What did Hostess Bread Company say to the SharePoint product team?
    • We charge extra for Service Application breadcrumbs
  • How many internal developers do you need to deploy a bad SharePoint Solution?
    • None, you only need a Site Collection admin to upload to the "Solutions" Gallery from codeplex
  • A developer had a monthly meeting with his manager and when the manager asked what he had been doing for the past month
    • He replied "Installing SharePoint 2010 on my Windows 7 Machine
  • An Microsoft Certified Trainer (MCT) was delivering a public SharePoint course and one of the students asks "Can you come to my office and train our company"
    • The MCT replies "I don't have 45 open training days in 2011"
  • A customer asked a consultant, "How long does a SharePoint backup take?"
    • The consultant replies, "Do you actually want it to restore successfully?"  
  • An Older SharePoint 2010 Farm was just sitting around responding to HTTP Requests, when all of a sudden the Farm stopped responding.  The Administrator immediately asks, "What's wrong Farm?" , the Farm responds, "I forgot all the managed accounts passwords can you help me sonny?"
  • What did the lazy SQL server say to the SharePoint Farm?
    • I have to host *how* many databases, can't you just put these on DB/2?
  •  An End User was told by his management to tag all content appropriately and to ensure that he ranks all the data.  A week later the manager calls the employee in and the employee sees an HR rep in the room.  The Manager asks "I'm sure you know why you are here?".  The employee says "No, Sir".  The manager says "What is this tag called sh*t with a rank of 1 on your collegues content?". 
    • The employee responds, "You told me to tag everything appropriately"
  • A CTO saw a cool demo of SharePoint 2010 and decided to convert his internal Lotus Notes applications to SharePoint, when he asked the Microsoft Sales rep what product he would need, they replied, "Well….you'll need this, this, this, this and this, one of these and this, but if you upgrade to an EA agreement, then it will only be $40,000 more and I'll throw this picture of Steve Balmer in for free"
  • An End User was filling out a BCS External List new item form and was getting an error when saving. 
    • After calling the helpdesk the helpdesk replied, you are doing it wrong, you can't type "Alaska", you have to type "1"!!
  • What did one child SPPersisted object say to another? 
    • Hey, do you know where my parent went?
  • What did the JavaScript and JScript say to the SharePoint ECMA script? 
    • When did you get a legal name change?
  • What did the SP WCF service say to the client when it errored? 
    • Don't tell me no lies and I won't tell you any details!
  • Police were called to a technology company on Wednesday for a mysterious death. 
    • After interviewing witnesses investigators found out an IT person attempted to configured SharePoint 2010 User Profile services and then proceeded to jump out a 5-story window.
  • What did SharePoint say to the SQL Server? 
    • HELLOCAN-YOUC-REAT-EADA-TABASEFORME?
  • A hacker was asked how much he would charge to steal information from a company.  He replies, "it depends".  The inquirer asks "on what".  The hacker replies, "On the technology".  The inquirer says "it is a SharePoint
    Farm".  The Hacker says in his best Thai-land voice, "Easy, five-dollar"!
  • One day two older SharePoint ghosts were talking to each other about the upcoming upgrade to 2010.
    • Ghost 1: "Hey, did you hear about the new guy?"  Ghost 2: "No, what about him?"  Ghost 1: "I heard he just got de-rezed!"
  • What did SharePoint 2010 say to the 2007 content database? 
    • "I'm putting you on the RBS diet plan"

       

  • What did the Hyper-V team ask the VMWare team? 
    • Can you help us?
  • How many IT guys does it take to install SharePoint?
    • I'd say one, but Spencer Harbars is too good to do any *real* work, so the real answer is 4 SharePoint MVPs, 25 SharePoint Microsoft Consulting Services guys, and half the SharePoint Product Team
  • What did one SharePoint Saturday say to another?
    • I'll trade you this MVP for that MVP… 

 

SharePoint 2010 Delegated Administration

Have been wanting to try this for a while now and just now got some time to do it today.  The Central Administration site is just a SharePoint site with libraries and links, so I was curious what would happen if you were added to the site as a simple reader.  Here's the results:

As a reader and contributor, you do not gain access to Central administration and you will get the access denied error message.  The real magic comes in being in a specifically names group, there are two groups in the SCA:

  • Farm Administrators
  • Delegated Administrators

Full Control, Contributor and Read permission levels have no role to play in the links on the SCA.  What does matter is what group you reside in.  Being a Farm Administrator allows you to do anything in the SCA.  Being a Delegated lets you do a subset of actions, one of the items you cannot do is to create new Web Applications, but when it comes to the majority of other things, you can do them!  The thing that I would be more insterested in how one would target the links in Quick Launch to specific people.  IE, something like the following:

  • Web Application manager
  • Service Account Manager
  • Service Application Manager (like a global service app manager role rather than manually apply to each one)
  • Backup Restore Manager
  • Content Deployment Manager

Service applications have a completed different architecture to them.  Each service application can have an "Administrator" assigned to it.  I found a great article that describes this process here:

http://www.sharepointanalysthq.com/2010/10/creating-a-delegated-administrator-for-a-service-application/

However, this also doesn't have much in terms of granular controls.  Its all or nothing for most of them.  These need more granular controls setup for them.  Security seems to be an afterthought in SharePoint, has been, probably always will be.

Chris

Records Center and Document Sets

Got this question asked last week for the second time.  What happens when you submit a document set to a record center?  Can you even do it?  Answers please!  Here we go…

Can you submit a document set to a records center? 

  • Yes!  it is not the typical "Send To->" menu in the drop down, but it does say "Send to another location", then you are presented your send to options. The directory is turned into a ZIP file and submitted!  Jury is still out on if this is a good way to go or not.

What happens if the document set is versioned?  Do the versions get submitted? 

  • No, only the latest version is submitted to the records center.  However, when the record is submitted, if it has the same name as another "record" it will get a unique ID appended to the record's file name.  This means that on top of every version that you submit and approve, you will also need to submit the record to the record center to keep track of its progress.  It will not move automatically if you don't do this.

 What will happen if you submit a document set with a document set?

  • You can't put a document set inside another document set.  At least, not with the UI anyway.  NOTE:  A document set is a folder, folders CAN contain folders and with some database magic you can make this occur. 

Therefore, what happens when you have a document set with a folder and/or a zip file in it? 

  • Simiarly, you can't add folders to a document set! You can however add a zip file to the document set, this works simiarly to simply adding a zip to a zip.  NOTE:  The zipping code is calling .NET Packaging and that's why you get the extra items like "_rels" and "resources" in the file.  I do a similar call in my course bulider tool

Can you rate a Document Set?

  • No, just like folders, you cannot rate a document set

Can you rate documents in a Document Set?

  • Yes, a document set is just like a folder and therefore any document inside of it can be rated.

Enjoy!
Chris

 

SharePoint 2010 IIS Application Pool Recycle???

Do you still need to recycle the application pool/ResetIIS in SharePoint 2010?  Yep. This is actually setup for you by default, out of the box when you create a new web application in central administration.  You can see this for yourself by doing the following:

Create a new web application
Be sure to create a new application pool:


Open IIS Manager
Select Application Pools:

 
Select the "SharePoint – 200" application pool
Right-click it, select "Advanced Settings":


In the "recycle" category, notice the "Specific Times" property:

 

Don't want it to recycle?  Just remove the TimeSpan value and it will stay up forever, but be forewarned, out of the box memory leaks will eventually exhaust your SharePoint/web server memory!
Click the Ellipsis, click "Remove" for the timespan values
Click "OK", now your SharePoint Application Pool won't recycle!

You still need those handy warm up scripts running every 30 minutes to keep your environment running tip-top!

Chris

SharePoint Auditing For Black Hats

SharePoint is not a secure application.  But neither are any other applications out there.  Their are some mechanisms in SharePoint that allow overriding the access permissions to SharePoint sites.  These mechanisms can allow access to resources without the content owners knowing about it. There are however ways to learn of these individuals access via Auditing.  The problem with auditing is that you can clear the audit log.  Let's take a look at how this all works:

Basic site permissions:

Open SharePoint 2010 Central Administration
Create a new web application on port 100
Create a new site collection with a team site template
For the site collection owner assign as user, in my example I'm using ContosoSP_Admin

You should now be able to open the site using the browser (http://servername:100) as the SP_Admin user:

 

Create a new document in the "Shared Documents" library
Try to login using a different account (in my example "Dan Jump"), you will get access denied:

Advanced Web Application Permissions:

Switch back to Central Administration
Click "Manage web applications"
Select the port 100 web application
In the ribbon, click "user policy"

Click "Add Users"

Select "all zone", click "next":

Type a user, in my example I use "Dan Jump"
Click the "Full Control" checkbox:

 

Click "Finish"
Switch to the browser, try to access the site using "Dan Jump"
You will be allowed access!:

Click "Site Actions->Site Permission", notice the permissons on the site, it does not show "Dan Jump" having access
 

Notice that Dan can see the document even though no visible permissions are present
Delete the document in the document library and from the recycle bin. 
It lets you do it!  Poor SP_Admin won't know where his document went!

 

This scenerio presents some challenges around accountability.  SharePoint administrators can at will assign permissions to sites, that by default are not tracked!

Site Collection Auditing:

Login to the team site as SP_Admin
In the Team site, click Site Actions->Site Settings
Under Site Collection administration, click "site collection audit settings":

In the documents and items section, check all the checkboxes
In the list, libraries and sites section, check all the checkboxes

Click "Save"
Add a new document to the document library
Login to the team site as "Dan Jump"
Delete the document

Now where to find reports?  In some cases, you have to enable the site collection feature called "SharePoint Server Standard site collection features" first to get this link:

Click "Audit log reports"
Click "Deletion"

Click "Browse"
Select the "Shared Documents" library
Open the library, click "You should see the information that "Dan Jump" did in fact delete the document:

Sweet right!?!  The audit log will record everything that happens on the site (as long as you tell it to anyway), even permission changes. But what if "Dan Jump" is an admin up to no good? "Dan Jump" could simply clear that audit log using a couple of methods.

Clear the Audit log:

You can clear the audit log by using the Object Model, PowerShell, or simply running this command:

SQL:

truncate table auditdata

PowerShell:

$spsite = get-spsite "http://servername:100"
$spsite.audit.deleteentries([System.DateTime]::Now.ToLocalTime().AddDays(1)
)
$spsite.audit.update()

 Trying to rerun the report will result in an error, which is a bug in SharePoint by the way (a null/empty report is being returned and it can't handle it):

 

If "Dan Jump" wants access to the data without any auditing, he can also do that by accessing the database directly. See this post on how to dump the contents of the content database:

http://bit.ly/3pdf45

And with this guidance, black hat paradise awaits you…this post is designed to bring focus to security and governance.  If you haven't thought about it yet, well….all you should be focused on
is Governance, Governance, Governance BEFORE you deploy SharePoint 2010.

Chris

For other security holes that you may not know about, check out this older blog post:

http://bit.ly/4rhTz

NOTE:  The only way to ensure full compliance of auditing is to turn C2 Auditing on and let the SQL Server storage explosion begin!