在Windows7上安装了Sharepoint2010 Server,安装后打不开首页,提示未将对象引用设置到对象的实例。但是列表是可以正常打开的,后台管理设置页面也可以正常打开,Web部件库无法打开, 看了错误的跟踪信息,
[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
在网上找了一个方案,就是将用户配置服务(UPS)删除,按照方法删除UPS后果然正常了。
参考地址:http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/2eb4af90-dbc1-4ec6-9ac8-dc01046cb26d