IIS parsing error, probably, any ideas for fix?


  • any idea about this error from IIS latest version? 'am using VS2010 using C# for ASP.NET App.


    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 17:     <compilation debug="true" targetFramework="4.0" />
    Line 18: 
    Line 19:     <authentication mode="Forms">
    Line 20:       <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
    Line 21:     </authentication>

    Source File: C:\inetpub\wwwroot\osp\osp\web.config    Line: 19
    Show Additional Configuration Errors:

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1038.0

    Sunday, January 24, 2016 7:32 AM


All replies