Click here to Skip to main content
15,889,858 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI This Error My Hosted Server Is Godaddy
XML
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 22:
Line 23:     <httpRuntime requestValidationMode="2.0"/>
Line 24:     <sessionState timeout="540"/>
Line 25:     <!--
Line 26:             Set compilation debug="true" to insert debugging


Source File: D:\Hosting\10550270\html\****\web.config    Line: 24


Show Additional Configuration Errors:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Thakyou in advance
Posted
Comments
nitin bhoyate 9-Mar-13 6:00am    
this link might help you

http://blogs.msdn.com/b/robgruen/archive/2005/09/12/464196.aspx

1 solution

Generally this happens when you have more than one Web.Config file in your application root folder.
Just check if you have more than one. If so, remove the duplicate copies.

Read a similar issue resolved here:ASP.NET 2.0 & "allowDefinition='MachineToApplication'" error message[^]

Other useful link that has similar issue discussed: section registered as allowDefinition='MachineToApplication' [^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900