SharePoint2007安装:Microsoft.SharePoint.Upgrade.SPUpgradeException: 未能加载一个或多个类型。...

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

转载于:https://www.cnblogs.com/bsnm/archive/2010/09/02/1815817.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值