Forums - C# Corner

Forum guidelines
Anjali Khan

Anjali Khan

  • 1k
  • 528
  • 28.4k

when run asp.net website i got an error like

Dec 7 2017 11:54 AM

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 44:       </assemblies> Line 45:     </compilation> Line 46:     <machineKey validation="3DES"/> Line 47:     <authentication mode="Form"> Line 48:       <forms loginUrl="~/Auth/Adminpanel/Login.aspx" protection="All" timeout="30"/>

Answers (3)