Re: Forms Authentication Error
From: Pete Beech (peter_beech_at_hotmail.nojunk.com)
Date: 04/09/04
- Next message: Karl Hungus: "Re: manually call a methodT"
- Previous message: Ken Cox [Microsoft MVP]: "Re: newbee question: How to call a second aspx"
- In reply to: Brett Robichaud: "Forms Authentication Error"
- Next in thread: Brett Robichaud: "Re: Forms Authentication Error"
- Reply: Brett Robichaud: "Re: Forms Authentication Error"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 10 Apr 2004 01:33:13 +0200
This line indicates one possible reason:
"This error can be caused by a virtual directory not being configured as an
application in IIS."
Web.config sections can be specified to only be allowed to be modified at
the application level, i.e. modified in the root folder of your web
applications boundaries on the server. The authentication section looks like
it is one of them. At the moment, the folder which contains the web.config
where you have configured this section is not the root folder of the web
application.
There's at least two explanations for this:
1) you have tried to configure this stuff in a subfolder of your web
applications root folder
2) the virtual directory containing your app has not been configured as an
IIS web application within IIS.
So, on your server, you need to go into IIS, then to the properties for this
folder, and make sure it has an application created on it. Or, configure
this section in the web.config which exists in the root folder of your app.
HTH,
Cheers,
Pete Beech
"Brett Robichaud" <brettrobichaud@nospam.yahoo.com> wrote in message
news:OixKwSoHEHA.4052@TK2MSFTNGP12.phx.gbl...
> Is anyone familiar with this error? I have this running just fine on my
> local machine but when I pushed it out to our development server I get
this
> error. I have no idea what it is saying. Any clues?
>
> -Brett-
>
> 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 59: by Microsoft that offers a single logon and core profile > services for member sites. > Line 60: --> > Line 61: <authentication mode="Forms"> > Line 62: <forms > Line 63: name="MIB.Identity" > > > Source File: C:\Webs\CorpWeb\products\imagebridge\myimagebridge\web.config > Line: 61 > > > > -------------------------------------------------------------------------- -- > ---- > > Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET > Version:1.1.4322.573 > >
- Next message: Karl Hungus: "Re: manually call a methodT"
- Previous message: Ken Cox [Microsoft MVP]: "Re: newbee question: How to call a second aspx"
- In reply to: Brett Robichaud: "Forms Authentication Error"
- Next in thread: Brett Robichaud: "Re: Forms Authentication Error"
- Reply: Brett Robichaud: "Re: Forms Authentication Error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|