您的位置:首页 > 其它

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐