web.config Configuration Error when deploy

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

  1. #1

    Default web.config Configuration Error when deploy

    Hi,
    I develop a Asp.net application using VS.NET
    and It work well on my computer .

    but when I deploy the application to another IIS runming manching .
    I just copy the whole folder of the application including bin subfolder to
    aother machine .

    When I access it via Internet Explorer ,the following error happend.

    Does any one have some idea about it ?
    Any assistant will be greately appreciated!

    Thanks!


    ========================================
    Server Error in '/tunnel' 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 36: "Passport" and "None"
    Line 37: -->
    Line 38: <authentication mode="Windows" />
    Line 39:
    Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING



    Source File: C:\TunnelingTest\AspProxy\web.config Line: 38

    Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET
    Version:1.0.3705.288


    Xu ChunMing Guest

  2. Similar Questions and Discussions

    1. Machine.config Configuration Error
      I've recently moved web hosts to Network Solutions (Sorry to drop names), and I'm now getting the following error... Configuration Error...
    2. A must to deploy the web.config file ?
      Hi all I have a w/s set up using just its asmx and dll. I pass through the default proxy credentials from my win form, all works fine thus is it a...
    3. Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
      I had many ASP.NET web applications that I created before I had to rebuild my machine. After a fresh install of XP Pro, VS.NET 2003, etc, I now...
    4. Forms Authentication - GenericPrincipal- How to use web.config configuration
      MSDN has good articles that explains how to use GenericPrincipal objects with forms authentication. For instance,...
    5. Deploy .aspx, browse, get 404 error
      I have an asp.net application. I have used VStudio Web Deployment Project to create the MSI file. I copy the MSI file from my developer PC to my...
  3. #2

    Default Re: web.config Configuration Error when deploy

    Hi,

    open up the IIS MMC on the target system, open the properties of 'tunnel',
    goto home directory and click create in the application settings/application
    name area. That should help!

    Best regards,

    Marc Höppner
    NeoGeo

    "Xu ChunMing" <xu.chunming@clausmark.com> wrote in message
    news:OUIX$z3SDHA.2852@tk2msftngp13.phx.gbl...
    > Hi,
    > I develop a Asp.net application using VS.NET
    > and It work well on my computer .
    >
    > but when I deploy the application to another IIS runming manching .
    > I just copy the whole folder of the application including bin subfolder to
    > aother machine .
    >
    > When I access it via Internet Explorer ,the following error happend.
    >
    > Does any one have some idea about it ?
    > Any assistant will be greately appreciated!
    >
    > Thanks!
    >
    >
    > ========================================
    > Server Error in '/tunnel' 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 36: "Passport" and "None"
    > Line 37: -->
    > Line 38: <authentication mode="Windows" />
    > Line 39:
    > Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING
    >
    >
    >
    > Source File: C:\TunnelingTest\AspProxy\web.config Line: 38
    >
    > Version Information: Microsoft .NET Framework Version:1.0.3705.288;
    ASP.NET
    > Version:1.0.3705.288
    >
    >

    Marc Hoeppner 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