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…
  • 相关阅读:
    接口测试框架实战(四) | 通用 API 封装实战
    接口测试框架实战(三) | APIObject 模式、原则与应用
    接口测试框架实战(二) | 搞定多环境下的接口测试
    测试左移和测试右移的 Why-How-What
    测试开发基础 mvn test | 利用 Maven Surefire Plugin 做测试用例基础执行管理
    单元测试框架怎么搭?新版的Junit5有哪些神奇之处?
    软件测试 / 自动化测试之读取配置文件
    一文搞定 Linux 常用高频命令
    JavaScript中闭包的简单介绍
    第一节:webpack打包、压缩及兼容性处理
  • 原文地址:https://www.cnblogs.com/csts/p/2466716.html
Copyright © 2011-2022 走看看