0
Answer

It is an error to use a section registered as allowDefinitio

Ask a question
JAYRAM

JAYRAM

11y
1k
1

i got error like this ...when i host  my website to local host

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 57:         -->
Line 58: 		<!--<authentication mode="Windows"/>-->
Line 59: 		<authentication mode="None" />
Line 60: 		
Line 61: 		<customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">

Source File: C:\CRP\web.config    Line: 59 


Version Information: Microsoft .NET Framework Version:2.0.50727.5446; ASP.NET Version:2.0.50727.5420