Monday, February 23, 2009

Failed to upgrade SharePoint Products and Technologies (Office SharePoint Server 2007)

If you add a new Web server to an existing server farm that does not have any Web applications, and you update the Web server and then run the SharePoint Products and Technologies Configuration Wizard, you might receive the following error message:

An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown. Additional exception information: Failed to upgrade SharePoint Products and Technologies.
Additionally, the Upgrade.log file found at %COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\12\Logs contains the following error message:
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.

Cause
This error occurs when the SharePoint Products and Technologies Configuration Wizard cannot locate or modify the Web.config file.

Resolution
To resolve the issue, you must manually copy the Web.config file from the following folder:
%COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\12\Config
to the following folder:
%COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\12\Template\Layouts.
After the Web.config file is in the Layouts folder, you can run the SharePoint Products and Technologies Configuration Wizard again.

See Also
Concepts
Deploy software updates for Office SharePoint Server 2007