Web Config Error What may be the problem?

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

  1. #1

    Default Web Config Error What may be the problem?

    Hi everybody,

    I made my first ASP.Net application and deployed it.

    There came an error on the server:

    What may be wrong in web.config file , or do I have to put it on to the root
    of my site.

    Thanks for any help.

    Arif Çimen.
    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 35: by Microsoft that offers a single logon and core profile
    services for member sites.
    Line 36: -->
    Line 37: <authentication mode="Forms" />
    Line 38: <!-- AUTHORIZATION Windows
    Line 39: This section sets the authorization policies of the
    application. You can allow or deny access


    Source File: C:\Webroot\tr\com\prowise\Proje Talep
    Formu\WebApplication1\web.config Line: 37



    --------------------------------------------------------------------------------

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


    Arif Çimen Guest

  2. Similar Questions and Discussions

    1. mssql config error
      I've just installed mssql and can't get CF to recognize the database. This is the error that is thrown: "Connection verification failed for data...
    2. web config ERror
      my web conhig code is like this and <customErrors mode="Off"/> was set off <compilation defaultLanguage="vb" debug="true"/> <!-- CUSTOM ERROR...
    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. Mandrake 9.1 problem install: dma error bad crc, and pcimod missing on X config
      Apologies for neccessary vagueness below, but I dont have all the information to hand. My system: An i686 with 128MB RAM and a Fujitsu HDD...
    5. Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)
      HI: Can anyone refer me to someone that can help with the problem below. I installed Apache Web Server on my laptop which has Windows XP. I...
  3. #2

    Default Re: Web Config Error What may be the problem?

    Yes, web.config with settings like <authentication> needs to be deployed
    to the root directory of your application. This also means that you've configured
    this directory in IIS as an independant application (aka virtual directory).

    -Brock
    DevelopMentor
    [url]http://staff.develop.com/ballen[/url]


    > Hi everybody,
    >
    > I made my first ASP.Net application and deployed it.
    >
    > There came an error on the server:
    >
    > What may be wrong in web.config file , or do I have to put it on to
    > the root of my site.
    >
    > Thanks for any help.
    >
    > Arif Çimen.
    > 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 35: by Microsoft that offers a single logon and core
    > profile
    > services for member sites.
    > Line 36: -->
    > Line 37: <authentication mode="Forms" />
    > Line 38: <!-- AUTHORIZATION Windows
    > Line 39: This section sets the authorization policies of the
    > application. You can allow or deny access
    > Source File: C:\Webroot\tr\com\prowise\Proje Talep
    > Formu\WebApplication1\web.config Line: 37
    >
    > ----------------------------------------------------------------------
    > ----------
    >
    > Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
    > ASP.NET Version:1.1.4322.2032
    >


    Brock Allen 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