错误:未能升级 SharePoint 产品和技术 (Office SharePoint Server 2007)

如果将一个新的 Web 服务器添加到不包含任何 Web 应用程序的现有服务器场中,并且更新了该 Web 服务器,之后又运行了 SharePoint 产品和技术配置向导,则可能收到以下错误消息:

An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown. Additional exception information: Failed to upgrade SharePoint Products and Technologies.

此外,%COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\12\Logs 中的 Upgrade.log 文件包含以下错误消息:

The access control list on %COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\12\template\layouts\Web.config could not be modified because the path could not be located in the file system.

原因

当 SharePoint 产品和技术配置向导无法找到或修改 Web.config 文件时,将出现此错误。

解决方法

若要解决该问题,您必须手动从成功传递配置向导的其中一个 WFE 服务器上复制 Web.config 文件。Web.config 位于以下路径:

%COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\12\Template\Layouts

将 Web.config 文件复制到成功终止配置向导的服务器上的以下路径:

%COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\12\Template\Layouts

当 Web.config 文件位于 Layouts 文件夹中后,即可再次运行 SharePoint 产品和技术配置向导。

另请参见

概念

部署 Office SharePoint Server 2007 的软件更新