Bug reports Found a bug? Post it here please.
Version 5.x > Bug reports > 'Configuration Error' - fail when change asp.net version from 2.0.50727.0000 to 2.0.50727.3607 View modes: 
User avatar
Member
Member
minhbios-yahoo - 2/21/2012 10:37:47 PM
   
'Configuration Error' - fail when change asp.net version from 2.0.50727.0000 to 2.0.50727.3607
Hi,

I face a problem when change asp.net version from 2.0.50727.000 to 2.0.50727.3607 for Kentico CMS 5.5 R2 on local computer. Problem is:

Server Error in '/' Application.
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: Unrecognized attribute 'xmlns'. Note that attribute names are case-sensitive.

Source Error:

Line 43: </pages>
Line 44: <customErrors defaultRedirect="~/CMSMessages/error.aspx" mode="Off">
Line 45: <error statusCode="404" redirect="~/CMSPages/handler404.aspx" xmlns="" />
Line 46: </customErrors>
Line 47: <authentication mode="Forms">


Source File: C:\inetpub\wwwroot\KenticoCMS\web.config Line: 45

Version Information: Microsoft .NET Framework Version:2.0.50727.3607; ASP.NET Version:2.0.50727.3053

How can i resolve this problem ?

Thank in advance,

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/22/2012 5:22:15 AM
   
RE:'Configuration Error' - fail when change asp.net version from 2.0.50727.0000 to 2.0.50727.3607
Hi,
Have you tried removing that parameter? By default it should not be there and also it is not mentioned as a valid parameter for that element in MSDN.

Best regards,
Juraj Ondrus

User avatar
Member
Member
minhbios-yahoo - 2/22/2012 7:46:25 PM
   
RE:'Configuration Error' - fail when change asp.net version from 2.0.50727.0000 to 2.0.50727.3607
Hi,

I have removed it out of code, web page display normally but CMSDesk notifies an error:


Server Error in '/' Application.
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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 140: <deny users="?" />
Line 141: </authorization>
Line 142: <trust level="Full" />
Line 143: </system.web>
Line 144: </location>


Source File: C:\inetpub\wwwroot\KenticoCMS\web.config Line: 142

Version Information: Microsoft .NET Framework Version:2.0.50727.3607; ASP.NET Version:2.0.50727.3053

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/24/2012 2:34:00 AM
   
RE:'Configuration Error' - fail when change asp.net version from 2.0.50727.0000 to 2.0.50727.3607
Hi,

What are your IIS settings? As you can see from the error message, it seems that the web project directory is not set as an application in the IIS. Could you please check it?

Also, could you please send us the web.config file for inspection? It seems it is messed up for some reason (or, you can install a new clean installation and check and compare the default web.config file).

Best regards,
Juraj Ondrus