SharePoint2007安装:Microsoft.SharePoint.Upgrade.SPUpgradeException: 未能加载一个或多个类型。
2010-09-02 11:32
453 查看
An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown during SharePoint Configuration wizard at step-2
Like many others, I have SharePoint 2007 installed on my Windows Server 2003 with SP2 box for custom development tasks; however, I also have Office 2010 Beta 2 installed on my machine of which has caused me a problem when attempting to run psconfig after installing the October 2009 CU patches (instructions to get these updates can be found from the SharePoint blog post here -> http://blogs.msdn.com/sharepoint/archive/2009/10/29/october-2009-cumulative-update-packages-for-sharepoint-server-2007-and-windows-sharepoint-services-3-0.aspx).The Configuration Wizard will immediately throw the following exception after entering step 2:
PS C:\> psconfig -cmd upgrade
Copyright (C) Microsoft Corporation 2005. All rights reserved.ion 12.0.6500.5000
Performing configuration task 1 of 4
Initializing SharePoint Products and Technologies upgrade…
Successfully initialized SharePoint Products and Technologies upgrade.
Performing configuration task 2 of 4
Initiating the upgrade sequence…
Failed to initiate the upgrade sequence.
An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: One or more types failed to load. Please refer to the upgrade log for more details.
Total number of configuration settings run: 2
Total number of successful configuration settings: 1
Total number of unsuccessful configuration settings: 2
Successfully stopped the configuration of SharePoint Products and Technologies.
Configuration of SharePoint Products and Technologies failed. Configuration must be performed before you use SharePoint Products and Technologies. For further details, see the diagnostic log located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS\PSCDiagnostics_11_1_2009_23_12_41_346_95884360.log and the application event log.
If you look into the Upgrade.log file you will see the following associated exception text:
[SPDelegateManager] [DEBUG] [11/1/2009 11:12:42 PM]: Begin registering Microsoft.Office.InfoPath.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c.
[SPDelegateManager] [DEBUG] [11/1/2009 11:12:42 PM]: No assembly manifest found.
[SPDelegateManager] [ERROR] [11/1/2009 11:12:42 PM]: Failed to call GetTypes()
[SPDelegateManager] [ERROR] [11/1/2009 11:12:42 PM]: Method ‘get_ServerInfo’ in type ‘Microsoft.Office.InfoPath.Server.DocumentLifetime.XmlFormHost’ from assembly ‘Microsoft.Office.InfoPath.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ does not have an implementation.
[SPDelegateManager] [ERROR] [11/1/2009 11:12:42 PM]: Failed to call GetTypes()
[SPDelegateManager] [ERROR] [11/1/2009 11:12:42 PM]: Method ‘IsCurrentUser’ in type ‘Microsoft.Office.InfoPath.Server.SolutionLifetime.UserHost’ from assembly ‘Microsoft.Office.InfoPath.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ does not have an implementation.
[SPDelegateManager] [ERROR] [11/1/2009 11:12:42 PM]: Failed to call GetTypes()
[SPDelegateManager] [ERROR] [11/1/2009 11:12:42 PM]: Method ‘get_ServerInfo’ in type ‘Microsoft.Office.InfoPath.Server.SolutionLifetime.XmlFormProxy’ from assembly ‘Microsoft.Office.InfoPath.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ does not have an implementation.
[SPManager] [ERROR] [11/1/2009 11:12:42 PM]: CanUpgrade [SPConfigurationDatabase Name=SharePoint_Config Parent=SPDatabaseServiceInstance Name=sql2008] failed.
[SPManager] [ERROR] [11/1/2009 11:12:42 PM]: One or more types failed to load. Please refer to the upgrade log for more details.
[SPManager] [ERROR] [11/1/2009 11:12:42 PM]: at Microsoft.SharePoint.Upgrade.SPDelegateManager.RegisterAssembly(Assembly asm, UInt32 nOrder)
at Microsoft.SharePoint.Upgrade.SPDelegateManager.get_InitialTypeDictionary()
at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegateTypes(Type tpObject)
at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetDelegates(Object o)
at Microsoft.SharePoint.Upgrade.SPDelegateManager.GetUpgraders(Object o)
at Microsoft.SharePoint.Upgrade.SPManager.CanUpgrade(Object o)
WORK-AROUND: The issue appears to be associated to having the new Office 2010 beta products installed and specifically InfoPath 2010. I am investigating the assembly conflict but the easiest work-around for now is to simply uninstall InfoPath 2010 (beta) and re-run psconfig again (you should not need to uninstall any other 2010 beta product and this will likely be a non-issue at RTM).
原文:http://ahmedmuneeb.spaces.live.com/Blog/cns!B2AB571DD1CCB4F0!1185.entry
相关文章推荐
- 配置SharePoint 2007 过程中引发Microsoft.SharePoint.Upgrade.SPUpgradeException 异常(未能创建配置数据库)的一个解决方法
- SharePoint2016安装的过程的”Microsoft.SharePoint.Upgrade.SPUpgradeException”错误解决方法
- sharepoint 2013 未能加载类型"Microsoft.AnalysisServices.SharePoint.Integration.ReportGalleryView"
- sharepoint 2013 未能加载类型"Microsoft.AnalysisServices.SharePoint.Integration.ReportGalleryView"
- 当您尝试通过使用 FrontPage 2003 或当您尝试导出 Web 部件编辑门户收到是类型 Microsoft.SharePoint.SoapServer.SoapServerException " Soap:Server 异常 " 消息
- 未能加载文件或程序集Microsoft.SharePoint.Sandbox.dll
- 安装错误: System.IO.FileNotFoundException: 未能加载文件或程序集“Microsoft.VisualStudio.Zip.9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它
- “System.BadImageFormatException”类型的未经处理的异常在 Castle.Windsor.dll 中发生 其他信息: 未能加载文件或程序集“Gis”或它的某一个依赖项。
- sharepoint 当您尝试通过使用 FrontPage 2003 或当您尝试导出 Web 部件编辑门户收到是类型 Microsoft.SharePoint.SoapServer.SoapServerException " Soap:Server 异常 " 消息
- SharePoint学习笔记002:未能加载文件或程序集'Microsoft.SharePoint.Sandbox.dll
- 未能从程序集“Microsoft.TeamFoundation.WorkItemTracking.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”中加载类型 “Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeDeniedOrNotExistException”。
- “System.BadImageFormatException”类型的未经处理的异常在 PurchaseDevices.Access.dll 中发生 其他信息: 未能加载文件或程序集“System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139”或它的某一个依赖项。试图加载格式不正确
- SharePoint 2010 中启动web应用程序报错:未能加载文件或程序集'Microsoft.SharePoint.Sandbox.dll .
- 配置sharepoint 2016 microsoft.sharepoint.upgrade.spugrdeexception异常
- 未能加载文件或程序集“Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91”或它的某一个依赖项。系统找不到指定的文件。
- 服务 在初始化安装时发生异常:System.IO.FileNotFoundException: 未能加载文件或******
- 错误 26 未能加载文件或程序集“Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。系统找不到指定的文件。
- 服务 在初始化安装时发生异常:System.IO.FileNotFoundException: 未能加载文件或******
- 安装用于 Team Foundation Server(单服务器部署)的 Microsoft Windows SharePoint Services ---TFS安装问题集
- Problens after upgrade Sharepoint 2010 SP 1-User Profile Service Unexcept error