zoukankan      html  css  js  c++  java
  • SharePoint Issue: Unable to oben the Site (Object null reference Error) Solution

    Issue: Server Error '/' Application Object reference not set to an instance of an object Description: An unhandled exception was generated during the execution of the current web request. please review the stack trace for more information about the error and where it orginated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: An unhandled exception was generated during the execution of the current web request.Information regarding the origin and using the exception stack trace below. Stack Trace: [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) +134 Microsoft.office.server.WebControls.MyLinksRibbon.get_Portal Available() +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.Page.ProcessRequestMail(Boolean includeStagesBeforeAsyncpoint, Boolean includeStagesAfterAsyncpoint) +2427 Solution: If you just doing Some POCs and got stuck with the above error mentioned problem. Just do one thing 1. Go to Central Admin->Manage Service Application->delete the User Profile Service. This will mak your site work and you can start Playing around. Also if you want you User Profile to Start again, follow below: ■Stop the User Profile Synchronization Service ■Open IIS (inetmgr) ■Click on the server name and select Authentication ■Selected Anonymous Authentication then choose Edit ■Click the specific user, then enter “IUSR” ■Add the service account to Local Admin group on the server ■Add the service account to all the FIM groups ■add the service account to the WSS_WSP and WSS_Admin_WPG group ■Perform an IISRESET ■Create a new User Profile Synchronization Service Application ■Started the User Profile Synchronization Service Stop the User Profile Synchronization Service First you have to start SharePoint PowerShell ■Go to Start ■Microsoft SharePoint 2010 Products ■Right click on SharePoint 2010 Management Shell ■Choose “Run as Administrator” from the context menu Type in Get-SPServiceInstance then capture the GUID of the User Profile Synchronization Service as shown below Now that you have the GUID, type in Stop-SPServiceInstance as shown below…
  • 相关阅读:
    Subversion 1.5.5 与 Apache 2.2 结合
    IE6 式样表 Bug
    Dreamweaver 禁止自动换行
    错误:Internet Explorer cannot open the Internet site
    Html Agility Pack – XPath 基本语法
    不要安装 CodeSmith 5.2
    控件包含代码块,因此无法修改控件集合
    单例模式
    第一篇博文
    包与导入的概念
  • 原文地址:https://www.cnblogs.com/csts/p/2466716.html
Copyright © 2011-2022 走看看