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

3 comments:

Bryon Sutherland said...

Thank you so much! Saved my installation (tried to upgrade my prod environment before creating any web apps)

Tripwire said...

Hi Jimmy, are you suggesting that the web.config files in both locations should be the same??

I've just checked all my farm servers after a recent spate of ID 6611 errors. Without exception, the web.config file located in \LAYOUTS is always 2KB and has not been modified since first installation of MOSS.

Binary Republik said...

It is a very nice thing to see your excellent work and I like your blog very much. With your rich knowledge, we can learn more from your wonderful post.
SharePoint Consulting is very important to content management systems. This content management system has enabled SharePoint consultants, allowing them to manage, plan, share and publish portal content.
Thanks so much.