Sharepoint 2010 安装完Micrsoft sharepoint 2010 service pack 1后网站主页报错

错误现象:

  1. 主页无法访问
  2. 列表可以访问,文档库不行
  3. 显示出错误信息描述如下

NullReferenceException: Object reference not set to an instance of an object.]
  Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties() +134
  Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs() +44
  Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext) +329
  Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalAvailable() +44
  Microsoft.Office.Server.WebControls.MyLinksRibbon.EnsureMySiteUrls() +60
  Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalMySiteUrlAvailable() +15
  Microsoft.Office.Server.WebControls.MyLinksRibbon.OnLoad(EventArgs e) +91
  System.Web.UI.Control.LoadRecursive() +65
  System.Web.UI.Control.LoadRecursive() +190
  System.Web.UI.Control.LoadRecursive() +190
  System.Web.UI.Control.LoadRecursive() +190
  System.Web.UI.Control.LoadRecursive() +190
  System.Web.UI.Control.LoadRecursive() +190
  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2427

参考文章:

http://www.cnblogs.com/kaneboy/archive/2011/07/11/2437080.html 

正解:

http://social.msdn.microsoft.com/Forums/en/sharepointgeneralprevious/thread/2eb4af90-dbc1-4ec6-9ac8-dc01046cb26d

http://www.randomizzzer.com/2011/09/how-to-troubleshoot-server-error-in-application-error-after-sp2010-sp1-update/

原文地址:https://www.cnblogs.com/sportdog/p/2744943.html