Having Error in ASP.NET file

Discussion in 'ASP.NET / ASP.NET Core' started by ar_faiz, Oct 12, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Server Error in '/Chapter 23' 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: "Forms", "Passport" and "None"
    Line 24: -->
    Line 25: <authentication mode="None" />
    Line 26:
    Line 27:


    Source File: F:\microsoft_technologies\VB.NET\Chapter 23\WebFileControl\web.config Line: 25


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705



    this error i not solving can any one help me i am new to ASP.NET
    i changed the Web.config file codeof Authentication to NONE but no use can any one help me
    see u
     
  2. quote:This error can be caused by a virtual directory not being configured as an application in IIS</blockquote id="quote"></font id="quote">

    The problem is that your website is not really configured as a webapplication in IIS (Internet Information Services). Go to IIS, select the property settings of the directory which is supposed to be an application.
    On the 'Directory' tab, look for the textbox 'application name'. This one will be disabled (and mentions 'default application'). Click the 'Create' button beside it.

    You now have configured the directory as a webapplication.

    success

    --
    Steurm
    www.steurm.net/steurm
     
  3. Hi, I got same err.
    I can do it in my local.
    But, How can I configure in discountasp.net hosting?
     
  4. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    You can use the Web Application Tool in your hosting control panel to set a subdirectory as an application.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page