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…
  • 相关阅读:
    Linux centos 安装 Node.js
    maven 常用命令
    linux centos 设置笔记本合盖不待机
    linux centos 网卡有关调试
    Linux centos 安装 maven 3.5.4
    Linux centos 安装 jenkins & 本地构建jar & 远程构建jar
    Linux centos 安装 tomcat 7
    Linux centos 安装 JDK 8
    JS正则 replace()方法全局替换变量(可以对变量进行全文替换)
    node:json与csv互转
  • 原文地址:https://www.cnblogs.com/csts/p/2466716.html
Copyright © 2011-2022 走看看