Configuration error ?

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Configuration error ?

    I have a web APS application that works fine at home, with IIS. In IIS, the
    application is an application, not a file folder.



    When I copy the file on the Internet sever, my application does not work
    anymore. I get the message:

    ***

    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='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" et "None"
    Line 24: -->
    Line 25: <authentication mode="None" />
    Line 26:
    Line 27:





    Is that really a security issue, or a more general problem? Someone said to
    me it is because I just copied the file in the server directory, the server
    does not know it is an application.



    Maybe it is that, but I have no idea how to declare an application at my
    provider server.



    Er... I hope I am clear enough. Any help?



    Thanks :)


    Promeneur Guest

  2. Similar Questions and Discussions

    1. Impersonation Configuration Error
      I have entered an identity element in my Web.Config file: <identity impersonate="true" userName="myDomain\myUserid" password="myPassword" /> ...
    2. Web Server Configuration Error
      After installing the Cold Fusin on Windows XP I receive the following error when trying to configure the webserver: Could not connect to any...
    3. ASP.NET Configuration Error
      I cannot configure web.config file properly on my system. Pls help me getting following error: Server Error in '/' Application....
    4. Configuration Error
      One possible answer can be found in http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b329065. Appears there may be other reasons as...
    5. Configuration Error, out of no where!
      Isn't it always the case that as soon as you post, you solve the problem? Apparently, adding an extra "space" to a blank line in my web.config...
  3. #2

    Default Re: Configuration error ?

    Bon, c'est réglé, il fallait des paramètres propres au provider.


    Promeneur Guest

  4. #3

    Default Re: Configuration error ?

    Are you using the Copy Project within the Project Menu in VS.NET?

    If you specify to use Front Page in the WebAccess Method: portion of the
    dialog box, the copy operation will create the Application IIS virtual
    directory if it does not exist.

    --
    Ralph Page MBA, CMBA, MCDBA, MCSE, CCNA
    -------------------------------------------------------------------------
    "However beautiful the strategy, you should occasionally look at the
    results."
    -- Winston Churchill
    -------------------------------------------------------------------------
    "Promeneur" <promeneur@noos.fr> wrote in message
    news:eisCoidjDHA.644@TK2MSFTNGP11.phx.gbl...
    > I have a web APS application that works fine at home, with IIS. In IIS,
    the
    > application is an application, not a file folder.
    >
    >
    >
    > When I copy the file on the Internet sever, my application does not work
    > anymore. I get the message:
    >
    > ***
    >
    > 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='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" et "None"
    > Line 24: -->
    > Line 25: <authentication mode="None" />
    > Line 26:
    > Line 27:
    >
    >
    >
    >
    >
    > Is that really a security issue, or a more general problem? Someone said
    to
    > me it is because I just copied the file in the server directory, the
    server
    > does not know it is an application.
    >
    >
    >
    > Maybe it is that, but I have no idea how to declare an application at my
    > provider server.
    >
    >
    >
    > Er... I hope I am clear enough. Any help?
    >
    >
    >
    > Thanks :)
    >
    >

    Me2 Guest

  5. #4

    Default Re: Configuration error ?

    > When I copy the file on the Internet sever, my application does not work
    > anymore. I get the message:
    >
    > ***
    >
    > Server Error in '/' Application.
    > -------------------------------------
    Firtly go into IIS on the hosting solution and make sure your web
    application is configured as a web applicaiton. Go in to Internet Services
    Manager | Default Website. Have a look at the icon for the directory where
    your application is. Does it look a little like a CD or a donut? If not,
    right click on your web applications directory and go to 'properties'. In
    the Directory tab in application settings, there should be an item
    application name. If there is a 'create' button next to this, click it.

    Also, try to make sure you use relative links as "~/default.aspx" instead of
    "/default.aspx". The ~ will make sure it goes to the application root on the
    server which may be a different relative link than "/" was on your
    development machine. "/" will refer to the \wwwroot\ directory, "~/" will
    refer to \wwwroot\MyWebApp\ directory.

    HTH

    Lauchlan M


    Lauchlan M Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139