Re: Help, please

From: Thanh (anonymous_at_discussions.microsoft.com)
Date: 12/28/03


Date: Sun, 28 Dec 2003 01:01:38 -0800

I ran into the same problem today and your explanation
helped me solve the problem.

Thanks Michel for the tip.

>-----Original Message-----
>Hi there,
>
>My guess is you have a web.config in a directory OTHER
then the root of the application (as defined in IIS) and
it contains the authentication mode tag. The
authentication mode can only be set once (and in the root
directory's web.config).
>
>Hope this helps,
>Michel
>
> "aa" <aa@centras.lt> wrote in message
news:uvwaIGeyDHA.540@tk2msftngp13.phx.gbl...
> I am using VS2003 and when I am launching the web
application in the sub folder page he me show the error.
I attached the 2 files machine.config and web.config from
sub-folder.
>
>
> Server Error in '/Pirmadienis' 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 2: <configuration>
>Line 3: <system.web>
>Line 4: <authentication mode="Windows">
>Line 5: </authentication>
>Line 6: <authorization>
>
> Source File:
c:\inetpub\wwwroot\Pirmadienis\gedimai\web.config
Line: 4
>
>
>---------------------------------------------------------
---------------------
> Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
>



Relevant Pages

  • How do I configure IIS for the following?
    ... How do I configure IIS for the following. ... directory has my complete ASP project in it. ... An error occurred during the processing of a configuration file ... Source Error: ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Error:
    ... An error occurred during the processing of a configuration file ... Source Error: ... PS - it's pretty easy to 'create' it as an application in IIS. ... BizTalk Utilities - Frustration free BizTalk Adapters ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: How to deploy a pool of web servers quickly?
    ... configuration file to other machines. ... This is because the configuration file ... own automation scripts using IIS administration interfaces to do the same. ... I'd like some advice on how to depoly a web server pool as quickly as ...
    (microsoft.public.inetserver.iis)
  • Re: Open ASP.NET Application with visual studio.net
    ... An error occurred during the processing of a configuration file ... Please tell us which version of Visual Studio you are using. ... If you don't find IIS, you'll need to install it from your OS CD. ... Knowledge Base article 306005 to remap VS to IIS: ...
    (microsoft.public.vsnet.general)
  • Re: Server Mngt- Backup and Monitor and report Broken after SP2 instal
    ... Go to IIS Manager, '', 'Web Sites', 'Default Web Site' right click on the 'Backup' virtual directory and select 'Properties'. ... An error occurred during the processing of a configuration file ...
    (microsoft.public.windows.server.sbs)