locked
Need help with deployment of form on server RRS feed

  • Question

  • User182823235 posted

    I have removed the web.config files in sub folder but still getting this error when deployed on server

    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

    Sunday, September 22, 2013 3:18 PM

Answers

  • User-1716253493 posted
    <authentication mode="Forms">

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

    Above information indicate C:\Inetpub\oia_data_vd\sunday_final\final_wq\final_wq\ is root of application.

    If you add this as virtual directory, you should configure it as an application (sub application)

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, September 22, 2013 9:08 PM
  • User71929859 posted

    Make your site an application.

    1. Right Click on the site directory from the IIS.

    2. Select properties and then click on "Create" next to the "Application" Label and the textbox.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 23, 2013 12:45 AM

All replies

  • User-1716253493 posted
    <authentication mode="Forms">

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

    Above information indicate C:\Inetpub\oia_data_vd\sunday_final\final_wq\final_wq\ is root of application.

    If you add this as virtual directory, you should configure it as an application (sub application)

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, September 22, 2013 9:08 PM
  • User71929859 posted

    Make your site an application.

    1. Right Click on the site directory from the IIS.

    2. Select properties and then click on "Create" next to the "Application" Label and the textbox.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 23, 2013 12:45 AM