SharePoint Server 2013 升级SP1后,需要重新运行配置向导,但是运行过程中报错:未注册sharepoint服务。
日志详细错误信息:
已引发类型为 Microsoft.SharePoint.SPException 的异常。其他异常信息: Microsoft.SharePoint.SPException ---> System.Runtime.InteropServices.COMException: <nativehr>0x80131904</nativehr><nativestack></nativestack> 在 Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) 在 Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) --- 内部异常堆栈跟踪的结尾 --- 在 Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) 在 Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount) 在 Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName) 在 Microsoft.SharePoint.SPListCollection.get_Count() 在 Microsoft.SharePoint.Administration.SPAdministrationWebApplication.get_HealthRules() 在 Microsoft.SharePoint.Administration.Health.SPHealthAnalyzer.RegisterRules(Assembly assembly) 在 Microsoft.Office.InfoPath.Server.Util.HealthAnalyzerRegistration.RegisterHealthRules() 在 Microsoft.Office.InfoPath.Server.Administration.FormsService.Update() 在 Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInConfigDB(Boolean provisionTheServiceToo, String serviceRegistryKeyName) 在 Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo) 在 Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run() 在 Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
原因:确认用户是SP管理员,权限都没有问题,经查资料后,查看SQL服务器,才知道原因:内容数据库SQL Server 硬盘分区空间已满。
解决方案:清理磁盘空间、收缩数据库日志文件,之后重新运行配置向导即OK 。