Re: Help, please

From: Michel (msm_at_virtualsciences.nl)
Date: 12/24/03


Date: Wed, 24 Dec 2003 14:15:14 +0100

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

  • Help, please
    ... I am using VS2003 and when I am launching the web application in the sub folder page he me show the error. ... An error occurred during the processing of a configuration file required to service this request. ... Source Error: ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • How to launch a no-touch deploy windows form application from Brow
    ... I have successfully launched simple applications but this ... internet portal which will serve as a launching pad for all of our interanal ... which requires remoting, serialization, and a configuration file? ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: Parser Error Message: Execution permission cannot be acquired.
    ... After that I got a different source error: ... An error occurred during the processing of a configuration file ... >> Parser Error Message: Execution permission cannot be acquired. ...
    (microsoft.public.dotnet.framework)
  • Virtual Directory not working
    ... An error occurred during the processing of a configuration file ... Source Error: ... The virtual path '/skins/mth/MainPage.ascx' maps to another application, ... Line 29: pageControl = LoadControl ...
    (microsoft.public.dotnet.framework.aspnet)
  • Trying to get started...?
    ... An error occurred during the processing of a configuration file required to service this request. ... Source Error: ... LOG: Initial PrivatePath = bin ... LOG: Post-policy reference: System.Web ...
    (microsoft.public.dotnet.framework.aspnet)