【问题标题】:NullreferenceException when opening SharePoint Document Library打开 SharePoint 文档库时出现 NullreferenceException
【发布时间】:2012-11-21 16:26:46
【问题描述】:

在 SharePoint 2010 中运行配置向导后(由于权限问题必须这样做),我无法打开任何文档库,例如“页面”。我收到以下错误:

[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

可以毫无问题地打开“正常”列表。我已停用并重新激活“SharePoint Server Publishing”和“SharePoint Server Publishing Infrastructure”

有什么想法吗?

【问题讨论】:

    标签: sharepoint sharepoint-2010 nullreferenceexception document-library sharepointdocumentlibrary


    【解决方案1】:

    这可能与 User Profile Service 应用程序有关。

    看这里: http://www.codeproject.com/Articles/475253/Object-null-reference-error-when-opening-the-Site

    根据这篇文章,删除用户配置文件服务应用程序可以修复错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多