I've inherited some aspx (including the web.config file) and am getting the following error. I've created a virtual directory for it but I'm not sure how would I "configure it as an 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 49: ASP.NET to identify an incoming user.
Line 50: -->
Line 51: <authentication mode="Windows"/>
Line 52:
Line 53: <customErrors mode="Off"/>
Source File: C:\<MYPATH>\web.config Line: 51