配置SharePoint2016的时候,弹出配置失败的问题,系统环境为windows server2016 ,数据库安装在本机SQLServer2014,提示:
已引发类型为 Microsoft.SharePoint.Upgrade.SPUpgradeException 的异常。其他异常信息: 未能加载一个或多个类型。有关详细信息,请参阅升级日志。
Microsoft.SharePoint.Upgrade.SPUpgradeException: 未能加载一个或多个类型。有关详细信息,请参阅升级日志。
日志文件如下:
01/04/2018 20:05:05 4 INF Found parameter connect in collection
01/04/2018 20:05:05 4 INF Leaving function Command.this[string key]
01/04/2018 20:05:05 4 INF Entering function Command.this[string key]
01/04/2018 20:05:05 4 INF Entering function CommandCollectionBase.Get
01/04/2018 20:05:05 4 INF Found value in collection for key create
01/04/2018 20:05:05 4 INF Leaving function CommandCollectionBase.Get
01/04/2018 20:05:05 4 INF Found parameter create in collection
01/04/2018 20:05:05 4 INF Leaving function Command.this[string key]
01/04/2018 20:05:05 4 INF Entering function StringResourceManager.GetResourceString
01/04/2018 20:05:05 4 INF Resource id to be retrieved is ConfigurationDatabaseTaskCreateFailConfigDisplayLabel for language Chinese (Simplified, China)
01/04/2018 20:05:05 4 INF Resource retrieved id ConfigurationDatabaseTaskCreateFailConfigDisplayLabel is 未能创建配置数据库。
01/04/2018 20:05:05 4 INF Leaving function StringResourceManager.GetResourceString
01/04/2018 20:05:05 4 ERR 未能创建配置数据库。
已引发类型为 Microsoft.SharePoint.Upgrade.SPUpgradeException 的异常。其他异常信息: 未能加载一个或多个类型。有关详细信息,请参阅升级日志。
Microsoft.SharePoint.Upgrade.SPUpgradeException: 未能加载一个或多个类型。有关详细信息,请参阅升级日志。
在 Microsoft.SharePoint.Upgrade.SPActionSequence.LoadUpgradeActions()
在 Microsoft.SharePoint.Upgrade.SPActionSequence.get_Actions()
在 Microsoft.SharePoint.Upgrade.SPActionSequence.get_ActionsInternal()
在 Microsoft.SharePoint.Upgrade.SPUtility.GetLatestTargetSchemaVersionBeforeMajorVersion(Type typeActionSequence, Int32 majorVer)
在 Microsoft.SharePoint.Upgrade.SPSiteSequence.get_PreviousTargetSchemaVersion()
在 Microsoft.SharePoint.Upgrade.SPUpgradeSession.PopulateSequencesTable(StringBuilder sqlstr, Boolean siteSequence)
在 Microsoft.SharePoint.Upgrade.SPUpgradeSession.ConstructSiteNeedsUpgradeQuery(Guid siteId)
在 Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.GetSiteNeedsUpgrade(SPUpgradeSession session, SPContentDatabase database, Dictionary`2& dictSitesNeedUpgrade, Dictionary`2& dictSitesNeedFeatureUpgrade)
在 Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.AddNextLevelObjects()
在 Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, Boolean bRecursing, SPDelegateManager delegateManager)
在 Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, SPDelegateManager delegateManager)
在 Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
在 Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
在 Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
在 Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
在 Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
在 Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
在 Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
在 Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
在 Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
在 Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalUpgradeStatus()
在 Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalProductVersions(SPProductVersions prodVer)
在 Microsoft.SharePoint.Administration.SPServerProductInfo.UpdateProductInfoInDatabase(Guid serverGuid)
在 Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost, Nullable`1 serverRole)
在 Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
在 Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
在 Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
01/04/2018 20:05:05 4 INF Entering function TaskDriver.NotifyTaskSummary
01/04/2018 20:05:05 4 INF Entering function StringResourceManager.GetResourceString
01/04/2018 20:05:05 4 INF Resource id to be retrieved is TotalTasksRan for language Chinese (Simplified, China)
01/04/2018 20:05:05 4 INF Resource retrieved id TotalTasksRan is 已运行的配置设置总数: {0}
01/04/2018 20:05:05 4 INF Leaving function StringResourceManager.GetResourceString
01/04/2018 20:05:05 4 INF Entering function TaskDriver.OnTaskDriverNotify
01/04/2018 20:05:05 4 INF Sending a task driver notify event: TaskDriverEventArgs.EventCriticalityType: info, TaskDriverEventArgs.EventMessageType: totalran, TaskDriverEventArgs.EventType.notify, message: 已运行的配置设置总数: 3
01/04/2018 20:05:05 4 INF Entering function TaskDriver.FireOnTaskDriverEvent
01/04/2018 20:05:05 4 INF Entering function UserInterface.TaskDriverEventHandler
01/04/2018 20:05:05 4 INF Received a TaskDriverEventHandler: TaskDriverEventArgs.EventCriticalityType info, TaskDriverEventArgs.EventType notify, message 已运行的配置设置总数: 3
01/04/2018 20:05:05 4 INF Leaving function UserInterface.TaskDriverEventHandler
01/04/2018 20:05:05 4 INF Entering function PsconfigBaseForm.TaskDriverEventHandler
01/04/2018 20:05:05 4 INF Invoking the UI thread with the task driver event
根本没有任何有用的信息可以参考。
网上搜索了很多资料,有以下几种解决办法:
1.Microsoft InfoPath(Office 2010中的一个组件)冲突,后来把改组件卸载调后问题就解决了。问题是我的机器并没有安装Infopath,全新纯净的系统,此方法无解。
2.Microsoft WCF Data Services 5.6安装问题。尝试手动修复安装,无效,然后卸载掉,用SharePoint安装包里自带的prerequisiteinstaller.exe工具来安装,依旧问题无法解决。
3.数据库账号权限问题,导致创建数据库失败。检查发现账号已经赋予了所有权限,并发现数据库已经创建成功了。
目前此问题依旧无解,还待研究……