J
jonas
I have a problem with different .NET Framework versions in virtual
directories.
Virtual directory /folder_a, is configured as an application running
..NET Framework 2.0 and contains an ASP.NET 2.0 app.
Virtual directory /folder_a/folder_b, is configured as an application
running .NET Framework 1.1 and contains an ASP.NET 1.1 app.
When i run the webb applikation in /folder_a/folder_b, it tries to use
the web.config file in the parent folder /folder_a, running the ASP.NET
1.1 and causing this 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: Unrecognized attribute 'enableEventValidation'.
Source Error:
Line 193: -->
Line 194: <globalization requestEncoding="utf-8"
responseEncoding="utf-8" />
Line 195: <pages validateRequest="false"
enableEventValidation="false">
Line 196: <controls>
Source File: C:\Inetpub\wwwroot\folder_a\web.config Line: 195
directories.
Virtual directory /folder_a, is configured as an application running
..NET Framework 2.0 and contains an ASP.NET 2.0 app.
Virtual directory /folder_a/folder_b, is configured as an application
running .NET Framework 1.1 and contains an ASP.NET 1.1 app.
When i run the webb applikation in /folder_a/folder_b, it tries to use
the web.config file in the parent folder /folder_a, running the ASP.NET
1.1 and causing this 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: Unrecognized attribute 'enableEventValidation'.
Source Error:
Line 193: -->
Line 194: <globalization requestEncoding="utf-8"
responseEncoding="utf-8" />
Line 195: <pages validateRequest="false"
enableEventValidation="false">
Line 196: <controls>
Source File: C:\Inetpub\wwwroot\folder_a\web.config Line: 195