Thursday, September 8, 2011

SharePoint 2010 SP1 and June CU Upgrade issue #3 - Broken functions


There are many issues reported by end users on SharePoint 2010 SP1 and June CU you may need to verify on your end. Here is the list of the potential issues for your reference.



1. Security validation error when people picker is on an infopath form.
http://ghamson.wordpress.com/2011/07/20/security-validation-issue-form-services-issue-with-sp1june-2011-cu-release-2-in-sp2010-sharepoint-msproject-projectserver/

 
2. Cannot provision new PWA sites through the GUI. Workaround is to create via powershell.  We have verified this is an issues on SP1 and June CU.
http://projectserverblogs.com/?p=4991

 
3. Unable to open Performance Point Dashboard Designer after SP1/June CU
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/4c71d238-d4ff-4320-833b-47985b36a8e1


4. JS Bug in grouped view since SP1?
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/ea9e87d5-5b5f-408e-a1bc-a6326ef458ad


5. SP 2010 Document Library Column "Show Filter Choices" is not ...
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/70c6cc25-d1c9-42cd-8d3d-463252e4e1f0


6.Sharepoint Wiki Link Creation Failing
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/d03f842b-71ae-492c-b083-2abde53068a9


7. SP2010 Column Filter causing Unable to display Web Part error and ...
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/44cfd798-be7a-4436-8786-bd44049e7def



8. Security validation issue
http://www.infopathdev.com/forums/p/20173/70028.aspx



9. June CU Unique Permissions \ People Picker Issue - This has been confirmed in our environments and Microsoft claimed it will be fixed in August CU.

 
10. Update-SPProfilePhotoStore not working after SP1 + CU June 2011 - We are having issues to import pictures and it is an issue.

 
11. BI status list display form missing source list after upgrade
http://sharepointconnoisseur.blogspot.com/2011/09/sharepoint-2010-sp1-and-june-cu-upgrade_14.html






We will continue to discuss each issue in details in the future. 

Please share any other issues.

SharePoint 2010 SP1 and June CU Upgrade issue #2 - Content type not found (Id: '0x0101000F1C8B9E0EB4BE489F09807B2C53288F0054AD6EF48B9F7B45A142F8173F171BD1')


If you upgrade SharePoint 2010 RTM to SP1 and June CU or any other CU, you might encounter error Feature upgrade incomplete for Feature - Content type not found (Id: '0x0101000F1C8B9E0EB4BE489F09807B2C53288F0054AD6EF48B9F7B45A142F8173F171BD1'). 

If you check the logs, there will be many errors indicating features related to publishing features such as PublishingLayouts and PublishingResources.

After debugging this, we have identified this is related to only sites migrated from 2007 with publishing features enabled. We had this issue during 2007 migration to 2010 as described in previous blog. Here are the tips and tricks to work around the issue.

1.       Issue summary - Content type not found during 2010 SP1 and June CU upgrade for sites migrated from 2007 with publishing features enabled

2.       Error in psconfig logs are listed below all point to 'PublishingResources' feature and publishing master page. Please check the ones highlighted in RED.
  
[PSCONFIG] [SPSiteWssSequence2] [INFO] [8/5/2011 11:32:51 AM]: SPSite Url=http://sandbox/sites/testsite
 [PSCONFIG] [SPSiteWssSequence2] [ERROR] [8/5/2011 11:32:51 AM]: Feature upgrade incomplete for Feature

'PublishingResources' (Id: 'aebc918d-b20f-4a11-a1db-9ed84d79c87e') in Site 'http://sandbox/sites/testsite'.

Exception: Content type not found (Id: '0x01004D5A79BAFA4A4576B79C56FF3D0D662D').
[PSCONFIG] [SPSiteWssSequence2] [INFO] [8/5/2011 11:32:51 AM]: SPSite Url= http://sandbox/sites/testsite
[PSCONFIG] [SPSiteWssSequence2] [ERROR] [8/5/2011 11:32:51 AM]: Feature upgrade incomplete for Feature

'PublishingResources' (Id: 'aebc918d-b20f-4a11-a1db-9ed84d79c87e') in Site 'http://sandbox/sites/testsite'.

Exception: Content type not found (Id: '0x01002CF74A4DAE39480396EEA7A4BA2BE5FB').
[PSCONFIG] [SPSiteWssSequence2] [INFO] [8/5/2011 11:32:51 AM]: SPSite Url=http://sbx04/sites/itlegal
[PSCONFIG] [SPSiteWssSequence2] [ERROR] [8/5/2011 11:32:51 AM]: Feature upgrade incomplete for Feature

'PublishingResources' (Id: 'aebc918d-b20f-4a11-a1db-9ed84d79c87e') in Site 'http://sandbox/sites/testsite'.

Exception: Specified argument was out of the range of valid values.
Parameter name: Content type not found (Id: '0x0101000F1C8B9E0EB4BE489F09807B2C53288F0054AD6EF48B9F7B45A142F8173F171BD1').
[PSCONFIG] [SPContentDatabaseSequence] [INFO] [8/5/2011 11:32:53 AM]: SPContentDatabase

Name= WSS_Content_test_sb
[PSCONFIG] [SPContentDatabaseSequence] [ERROR] [8/5/2011 11:32:53 AM]: Found a missing feature Id = [aeb3b47f-5d09-4c99-b563-02c746cc1aae]
[PSCONFIG] [SPContentDatabaseSequence] [INFO] [8/5/2011 11:32:53 AM]: SPContentDatabase

Name=WSS_Content_test_sb

[PSCONFIG] [SPSiteWssSequence2] [ERROR] [8/5/2011 11:39:36 AM]: Feature upgrade incomplete for Feature 


3.      Root cause for this issue.

 Please note the Content type with Id: '0x01004D5A79BAFA4A4576B79C56FF3D0D662D' is Publishing Master Page that is related to PublishingResources feature. We are not sure why this is causing the migration issue and it has been confirmed from Microsoft that some other people have similar issues on this. Since we had this issue before during 2007 to 2010 upgrade, we believe this is still related to deprecated or removed site templates in SharePoint 2010. The following site templates have been either deprecated or removed from 2010.

  • Wiki Site
  • Site Directory
  • Report Center
  • Search Center with Tabs
  • Search Center 
  • Collaboration Portal 
  • News Site 

The sites created from  Collaboration Portal that has publishing features enabled had some issues during 2007 to 2010 upgrade as we discovered. Other sites created from different 2007 template may have similar issue and we are not be able to identify the exact way to distinguish them.
 
4.       Workaround to resolve the issue after working with several co-workers my group.
a.       Deactivate the 'PublishingResources' feature
b.      Detach the content db
c.       Attach the content db
d.      Upgrade
e.      Activate the 'PublishingResources' feature


Now you have the workaround to resolve this issue during the upgrade. The question will be how we could identify the sites that will fail in upgrade?

Well, you could list all sites created from 2007 by creation date with 'PublishingResources' feature enabled. This may give you all potential sites that might fail in the upgrade. We are still working with Microsoft to see whether we could have easy way to identify those sites or final solution to fix this issue.

If you have better way to resolve this, please share with us.

Wednesday, September 7, 2011

SharePoint 2010 SP1 and June CU Upgrade issue #1 - WebPart class [baf5274e-a800-8dc3-96d0-0003d9405663] is referenced [16] times in the database


If you plan your SharePoint 2010 SP1 and June CU Upgrade, you may encounter some upgrade errors from  Test-SPContentDatabase script. One of the popular error in the Test-SPContentDatabase you may find after you setup new test environment is as follows.


Category                              : MissingWebPart
Error                                      : True
UpgradeBlocking              : False
Message                              : WebPart class [baf5274e-a800-8dc3-96d0-0003d9405663] is referenced [20] times in the database [WSS_Content_it_ems_dev], but is not installed on the current farm. Please install any feature/solution which contains this web part.

Remedy                               : One or more web parts are referenced in the database [WSS_Content_it_ems_dev], but are not installed on the current farm.  …


Category                              : MissingWebPart
Error                                      : True
UpgradeBlocking              : False
Message                              : WebPart class [07f48b68-2e69-c86a-ebe4-16359e03ebc2] (class [Microsoft.Office.Server.Search.WebControls.AdvancedSearchBox] from assembly Microsoft.Office.Server.Search, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c]) is referenced [1] times in the database [WSS_Content_it_ems_dev], but is not installed on the current farm. Please install any feature/solution which contains this web part.

Remedy                               : One or more web parts are referenced in the database [WSS_Content_it_ems_dev], but are not installed on the current farm. …


 Here are some ways to resolve these and deep dive on the issue.

1. The “simple” procedures to resolve most of these errors is described here.

a.     Open the following search center pages

b.    Open the search administration page by following this procedure if you get error to access searchfarmdashboard.aspx page.

c.    May need to iisreset/noforce and restart SharePoint 2010 Timer


2.  There are some other similar errors you need to be aware of. You could identify from the class name they are all from search package. Here is the list you could found from logs. Here is the list of the class you might have error.

Microsoft.SharePoint.Portal.WebControls.SearchBoxEx
Microsoft.Office.Server.Search.WebControls.SearchSummaryWebPart
Microsoft.Office.Server.Search.WebControls.RefinementWebPart
Microsoft.Office.Server.Search.WebControls.SearchStatsWebPart
Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart
Microsoft.Office.Server.Search.WebControls.SearchPagingWebPart
Microsoft.Office.Server.Search.WebControls.QuerySuggestionsWebPart
Microsoft.Office.Server.Search.WebControls.FederatedResultsWebPart
Microsoft.Office.Server.Search.WebControls.HighConfidenceWebPart
Microsoft.Office.Server.Search.WebControls.TopFederatedResultsWebPart
Microsoft.SharePoint.Portal.WebControls.PeopleSearchBoxEx
Microsoft.Office.Server.Search.WebControls.PeopleRefinementWebPart
Microsoft.Office.Server.Search.WebControls.PeopleCoreResultsWebPart
Microsoft.Office.Server.Search.WebControls.AdvancedSearchBox

3.  Way to identify mis-match webparts using db query.
First, you could identify the features from 14 hive on all search related features and classes. 
Second, you could query the content database what webparts are installed. Here is the simple query.

SELECT *
FROM AllWebParts
WHERE tp_Class is NOT NULL


You could filtyer out the webparts based on class names.

I have tried the procedure and it indeed cleaned up almost all errors except one with WebPart class [baf5274e-a800-8dc3-96d0-0003d9405663].  
I'm not sure why other people were able to clean up even this one.

We will continue working this and keep you posted. Here are some reference I could find for your reference.


Thursday, August 25, 2011

Workaround to auto refresh RSS feed web part for SharePoint 2010 lists

If you have seen previous blog, you might know SharePoint 2010 RSS feed web part does not support AJAX asynchronous load as it should be. As a result,  you will not be able to setup to auto refresh the web part with the latest SharePoint list  feeds using AJAX options without IIS reset. 

This result has been acknowledged by Microsoft that it can be confusing to users if they try to use this option when  it does not perform this function one would expect. However, the RSS feed web part was not designed to provide this functionality so presently the issue in regards to a fix, is that the option is there in the first place. 

This is a workaround we tested it you could auto refresh the web part. The workaround is to setup the web part refresh (This is inherited from Date View web part) instead of AJAX asynchronous load. The result will be refresh through webpart refresh that is causing page refresh. You should see these options on the properties of the web part itself:



Now, you could adjust the refresh time to get the latest SharePoint list RSS feeds. The potential issue is the performance impact. This is NOT AJAX asynchronous load but a whole page refresh. If you have multiple BCS webparts,  multiple PSS feed webparts, you may run into performance issue. User experience might be impacted too.

Regrading the future enhancement or fix, here is the feedback from Microsoft. If the first then we can explore the best approach for dealing with the confusion in the option being present when it shouldn’t be. If the request is for the functionality to be added then this would be a design change request, as we are requesting new functionality. For this the product group would need a strong business reason as to why this functionality should be added in the context of a cumulative update. I can’t guarantee this can be done, it depends on a lot of factors, but if it’s something you feel strongly about pursuing we can certainly push forward the request.