locked
Need Help regarding ->How to use web.config in my sub folder?? and How to set a virtual directory for IIS Express 8 RRS feed

  • Question

  • User182823235 posted

    Server Error in '/search' 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 23:       </controls>
    Line 24:     </pages>
    Line 25: <authentication mode="Forms"> Line 26:       <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
    Line 27:     </authentication>


    Source File: C:\Inetpub\oia_data_vd\sunday_final\final_wq\final_wq\web.config    Line: 25 

    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. (C:\Inetpub\oia_data_vd\sunday_final\final_wq\final_wq\web.config line 28)
    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. (C:\Inetpub\oia_data_vd\sunday_final\final_wq\final_wq\web.config line 33)
    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. (C:\Inetpub\oia_data_vd\sunday_final\final_wq\final_wq\web.config line 38)
    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. (C:\Inetpub\oia_data_vd\sunday_final\final_wq\final_wq\web.config line 43)




    <div class="expandable">Show Additional Configuration Errors:</div> <div id="additionalConfigurationErrors">


    </div>

    Version Information: Microsoft .NET Framework Version:2.0.50727.3649; ASP.NET Version:2.0.50727.3648

    Sunday, September 22, 2013 2:01 PM

Answers