Webconfig Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Omundu

    #1

    Webconfig Error

    I'm learning ASP.NET and have developed a project and
    build it without any build error but when i browse the
    startup page i receive the error below, i have configure
    IIS accordingly and have administrative rights. I have
    used the tool aspnet_regiis -r to map scripts but still
    getting the error. What should i check?


    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 ='MachineToAppl ication'
    beyond application level. This error can be caused by a
    virtual directory not being configured as an application
    in IIS.

    Source Error:


    Line 30: "Passport" and "None"
    Line 31: -->
    Line 32: <authenticati on mode="Windows" />
    Line 33:
    Line 34: <!-- APPLICATION-LEVEL TRACE LOGGING


    Source File:
    C:\Inetpub\wwwr oot\CurrencyCon verter\web.conf ig Line:
    32
  • Rajeev Soni

    #2
    Re: Webconfig Error

    Your webapplication folder, where you have Web.Config file must be virtual
    folder.


    "Omundu" <tonnywachira@y ahoo.com> wrote in message
    news:029001c34d 68$f58382c0$a40 1280a@phx.gbl.. .[color=blue]
    > I'm learning ASP.NET and have developed a project and
    > build it without any build error but when i browse the
    > startup page i receive the error below, i have configure
    > IIS accordingly and have administrative rights. I have
    > used the tool aspnet_regiis -r to map scripts but still
    > getting the error. What should i check?
    >
    >
    > 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 ='MachineToAppl ication'
    > beyond application level. This error can be caused by a
    > virtual directory not being configured as an application
    > in IIS.
    >
    > Source Error:
    >
    >
    > Line 30: "Passport" and "None"
    > Line 31: -->
    > Line 32: <authenticati on mode="Windows" />
    > Line 33:
    > Line 34: <!-- APPLICATION-LEVEL TRACE LOGGING
    >
    >
    > Source File:
    > C:\Inetpub\wwwr oot\CurrencyCon verter\web.conf ig Line:
    > 32[/color]


    Comment

    Working...