Need help in this meter.

Discussion in 'C#' started by razareal, Oct 7, 2007.

  1. #1
    Does any one knows, how can i fix this error? or what is the problem behind this error:
    Check error details blow::)


    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 7: <deny users="*" />
    Line 8: </authorization>
    Line 9: <roleManager enabled="true" />
    Line 10: <authentication mode="Forms" />
    Line 11: <customErrors mode="Off"/>


    Source File: E:\HostingSpaces\mojizahfoods.com\mojizahfoods.com\wwwroot\website1\web.config Line: 9


    Show Additional Configuration Errors:

    It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory
     
    razareal, Oct 7, 2007 IP
  2. kadesmith

    kadesmith Peon

    Messages:
    479
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Couple of things to check for:

    1. Is the directory configured as an application in IIS?

    2. Do you have more than 1 web.config file in your application?
     
    kadesmith, Oct 10, 2007 IP
  3. razareal

    razareal Peon

    Messages:
    78
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    razareal, Oct 10, 2007 IP
  4. Sellertools

    Sellertools Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    usually when you see this error, the Root Directory of your web app ( the place where your web.config file is located ) is NOT configured as an isolated application ( Note: application, not Virtual Directory ) in IIS
     
    Sellertools, Oct 14, 2007 IP