删除User Profile Service Application 后出现错误
删除以前的用户配置应用程序和数据,再重新创建一个新的User Profile Service Application ,现进入网站登录时,出现了下面的错误
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.GetRawPartitionID has null proxy
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.GetRawPartitionID has null proxy
源错误:
执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.GetRawPartitionID has null proxy]
Microsoft.Office.Server.Administration.UserProfileApplicationProxy.GetRawPartitionID(SPServiceContext serviceContext) +478
Microsoft.Office.Server.UserProfiles.ProfileManagerBase..ctor(SPServiceContext serviceContext) +127
Microsoft.Office.Server.UserProfiles.ProfileManagerBase..ctor(SPServiceContext serviceContext, Boolean ignorePrivacy) +54
Microsoft.Office.Server.UserProfiles.UserProfileManager..ctor(SPServiceContext serviceContext, Boolean IgnoreUserPrivacy, Boolean backwardCompatible) +157
Microsoft.Office.Server.UserProfiles.UserProfileManager..ctor(SPServiceContext serviceContext) +55
PersonalStastics.BlogsAboutHtml5.BlogsAboutHtml5.GetPhotoUrlByUserProfile(String loginName) +526
PersonalStastics.BlogsAboutHtml5.BlogsAboutHtml5.GetBlogItem(DataRow dr, Int32 i) +218
PersonalStastics.BlogsAboutHtml5.BlogsAboutHtml5.FillBlogContent() +477
PersonalStastics.BlogsAboutHtml5.BlogsAboutHtml5.CreateChildControls() +147
System.Web.UI.Control.EnsureChildControls() +189
System.Web.UI.WebControls.WebParts.Part.get_Controls() +24
Microsoft.SharePoint.Portal.WebControls.<get_AllPageControls>d__0.MoveNext() +400
Microsoft.SharePoint.Portal.WebControls.UserInputFilterWebPart.OnPreRender(EventArgs e) +504
Microsoft.SharePoint.Portal.WebControls.SpListFilterWebPart.OnPreRender(EventArgs e) +803
System.Web.UI.Control.PreRenderRecursiveInternal() +113
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Control.PreRenderRecursiveInternal() +222
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34274