tisdag 17 april 2012

Parser Error Message: The configSource file 'Caching.config' is also used in a parent, this is not allowed.

This error occured in IIS6, Windows 2003.
We solved this by changing the Path for the root-web site to point to another folder than the folder that contains the web-site.
This could be done since nobody uses this root web site.


Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The configSource file 'Caching.config' is also used in a parent, this is not allowed.
Source Error:

Line 27:         Links to other config files.
Line 28:     -->
Line 29:   <cachingConfiguration configSource="Caching.config"/>
Line 30:   <policyInjection configSource="Policy.config"/>
Line 31:   <loggingConfiguration configSource="Logging.config"/>

Source File: D:\Dna\Apps\A4D\a4d-test.vlc.volvo.net\web.config    Line: 29

Show Additional Configuration Errors:

The configSource file 'Policy.config' is also used in a parent, this is not allowed.  (D:\Dna\Apps\A4D\a4d-test.vlc.volvo.net\web.config line 30)
The configSource file 'Logging.config' is also used in a parent, this is not allowed.  (D:\Dna\Apps\A4D\a4d-test.vlc.volvo.net\web.config line 31)
The configSource file 'Unity.config' is also used in a parent, this is not allowed.  (D:\Dna\Apps\A4D\a4d-test.vlc.volvo.net\web.config line 32)
The configSource file 'Exception.config' is also used in a parent, this is not allowed.  (D:\Dna\Apps\A4D\a4d-test.vlc.volvo.net\web.config line 33)
                     


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3625; ASP.NET Version:2.0.50727.3634