473,788 Members | 2,811 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Forms Authentication Error

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 ='MachineToAppl ication' 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: <authenticati on mode="Forms">
Line 62: <forms
Line 63: name="MIB.Ident ity"
Source File: C:\Webs\CorpWeb \products\image bridge\myimageb ridge\web.confi g
Line: 61

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

Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET
Version:1.1.432 2.573
Nov 18 '05 #1
22 1286
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" <br************ @nospam.yahoo.c om> wrote in message
news:Oi******** ******@TK2MSFTN GP12.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 ='MachineToAppl ication' 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: <authenticati on mode="Forms">
Line 62: <forms
Line 63: name="MIB.Ident ity"
Source File: C:\Webs\CorpWeb \products\image bridge\myimageb ridge\web.confi g
Line: 61

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

Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573

Nov 18 '05 #2
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" <br************ @nospam.yahoo.c om> wrote in message
news:Oi******** ******@TK2MSFTN GP12.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 ='MachineToAppl ication' 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: <authenticati on mode="Forms">
Line 62: <forms
Line 63: name="MIB.Ident ity"
Source File: C:\Webs\CorpWeb \products\image bridge\myimageb ridge\web.confi g
Line: 61

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

Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573

Nov 18 '05 #3
Yes I do have this ASP App down in a subdir of the main web.

I actually already tried creating a virtual directory for my app after
seeing this error but it made no difference. I also tried copying the
web.config down to the root and it made no difference.

I'm curious why it is acting differently on this server than it is locally
on my machine? Is there some machine based policy that enforces this?

Optimally I would like to have my web.config in the subfolder. Is there a
way I can do this? I have full control of the server.

-Brett-
"Pete Beech" <pe*********@ho tmail.nojunk.co m> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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" <br************ @nospam.yahoo.c om> wrote in message
news:Oi******** ******@TK2MSFTN GP12.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 ='MachineToAppl ication' 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: <authenticati on mode="Forms">
Line 62: <forms
Line 63: name="MIB.Ident ity"
Source File: C:\Webs\CorpWeb \products\image bridge\myimageb ridge\web.confi g Line: 61


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

Version Information: Microsoft .NET Framework Version:1.1.432 2.573;

ASP.NET
Version:1.1.432 2.573


Nov 18 '05 #4
Yes I do have this ASP App down in a subdir of the main web.

I actually already tried creating a virtual directory for my app after
seeing this error but it made no difference. I also tried copying the
web.config down to the root and it made no difference.

I'm curious why it is acting differently on this server than it is locally
on my machine? Is there some machine based policy that enforces this?

Optimally I would like to have my web.config in the subfolder. Is there a
way I can do this? I have full control of the server.

-Brett-
"Pete Beech" <pe*********@ho tmail.nojunk.co m> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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" <br************ @nospam.yahoo.c om> wrote in message
news:Oi******** ******@TK2MSFTN GP12.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 ='MachineToAppl ication' 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: <authenticati on mode="Forms">
Line 62: <forms
Line 63: name="MIB.Ident ity"
Source File: C:\Webs\CorpWeb \products\image bridge\myimageb ridge\web.confi g Line: 61


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

Version Information: Microsoft .NET Framework Version:1.1.432 2.573;

ASP.NET
Version:1.1.432 2.573


Nov 18 '05 #5
Have you also created an application in that virtual directory? If you open
up the properties on the folder, in the application settings section of the
virtual directory tab, do you see a button saying Create, or one saying
Remove? If its Remove, you have an application there. (You can also tell by
the icon on the folder - its a kind of box with a globe in it if an
application has been created on the virtual directory.) .. apologies if I'm
telling you stuff you already know.

Mind you, if the app boundary is the main web, and the web.config still
wouldn't work at that level, I'm not sure if it has anything to do with what
I've said... Is your bin folder under the subdir of where the ASP.NET app
is, or directly under the main webs root folder?

Pete

"Brett Robichaud" <br************ @nospam.yahoo.c om> wrote in message
news:eR******** ******@tk2msftn gp13.phx.gbl...
Yes I do have this ASP App down in a subdir of the main web.

I actually already tried creating a virtual directory for my app after
seeing this error but it made no difference. I also tried copying the
web.config down to the root and it made no difference.

I'm curious why it is acting differently on this server than it is locally
on my machine? Is there some machine based policy that enforces this?

Optimally I would like to have my web.config in the subfolder. Is there a
way I can do this? I have full control of the server.

-Brett-
"Pete Beech" <pe*********@ho tmail.nojunk.co m> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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" <br************ @nospam.yahoo.c om> wrote in message
news:Oi******** ******@TK2MSFTN GP12.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 ='MachineToAppl ication' 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: <authenticati on mode="Forms">
Line 62: <forms
Line 63: name="MIB.Ident ity"
Source File: C:\Webs\CorpWeb \products\image bridge\myimageb ridge\web.confi g Line: 61


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

Version Information: Microsoft .NET Framework Version:1.1.432 2.573;

ASP.NET
Version:1.1.432 2.573



Nov 18 '05 #6
Have you also created an application in that virtual directory? If you open
up the properties on the folder, in the application settings section of the
virtual directory tab, do you see a button saying Create, or one saying
Remove? If its Remove, you have an application there. (You can also tell by
the icon on the folder - its a kind of box with a globe in it if an
application has been created on the virtual directory.) .. apologies if I'm
telling you stuff you already know.

Mind you, if the app boundary is the main web, and the web.config still
wouldn't work at that level, I'm not sure if it has anything to do with what
I've said... Is your bin folder under the subdir of where the ASP.NET app
is, or directly under the main webs root folder?

Pete

"Brett Robichaud" <br************ @nospam.yahoo.c om> wrote in message
news:eR******** ******@tk2msftn gp13.phx.gbl...
Yes I do have this ASP App down in a subdir of the main web.

I actually already tried creating a virtual directory for my app after
seeing this error but it made no difference. I also tried copying the
web.config down to the root and it made no difference.

I'm curious why it is acting differently on this server than it is locally
on my machine? Is there some machine based policy that enforces this?

Optimally I would like to have my web.config in the subfolder. Is there a
way I can do this? I have full control of the server.

-Brett-
"Pete Beech" <pe*********@ho tmail.nojunk.co m> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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" <br************ @nospam.yahoo.c om> wrote in message
news:Oi******** ******@TK2MSFTN GP12.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 ='MachineToAppl ication' 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: <authenticati on mode="Forms">
Line 62: <forms
Line 63: name="MIB.Ident ity"
Source File: C:\Webs\CorpWeb \products\image bridge\myimageb ridge\web.confi g Line: 61


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

Version Information: Microsoft .NET Framework Version:1.1.432 2.573;

ASP.NET
Version:1.1.432 2.573



Nov 18 '05 #7
My virtual directory does indeed have an application setup. The bin folder
is in the subfolder along with my application.

After reading a little about this error I am more confused. Some people
think it isn't possible to enable forms authentication in a subfolder of the
root, others say you can.

I can't make it work. Seems crazy not to allow me to create a separate app
in a subfolder and secure it. I must be missing something obvious here...

-Brett-
"Pete Beech" <pe*********@ho tmail.nojunk.co m> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Have you also created an application in that virtual directory? If you open up the properties on the folder, in the application settings section of the virtual directory tab, do you see a button saying Create, or one saying
Remove? If its Remove, you have an application there. (You can also tell by the icon on the folder - its a kind of box with a globe in it if an
application has been created on the virtual directory.) .. apologies if I'm telling you stuff you already know.

Mind you, if the app boundary is the main web, and the web.config still
wouldn't work at that level, I'm not sure if it has anything to do with what I've said... Is your bin folder under the subdir of where the ASP.NET app
is, or directly under the main webs root folder?

Pete

"Brett Robichaud" <br************ @nospam.yahoo.c om> wrote in message
news:eR******** ******@tk2msftn gp13.phx.gbl...
Yes I do have this ASP App down in a subdir of the main web.

I actually already tried creating a virtual directory for my app after
seeing this error but it made no difference. I also tried copying the
web.config down to the root and it made no difference.

I'm curious why it is acting differently on this server than it is locally
on my machine? Is there some machine based policy that enforces this?

Optimally I would like to have my web.config in the subfolder. Is there a way I can do this? I have full control of the server.

-Brett-
"Pete Beech" <pe*********@ho tmail.nojunk.co m> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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" <br************ @nospam.yahoo.c om> wrote in message
news:Oi******** ******@TK2MSFTN GP12.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 ='MachineToAppl ication' 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: <authenticati on mode="Forms">
> Line 62: <forms
> Line 63: name="MIB.Ident ity"
>
>
> Source File:

C:\Webs\CorpWeb \products\image bridge\myimageb ridge\web.confi g
> Line: 61
>
>
>


--------------------------------------------------------------------------
--
> ----
>
> Version Information: Microsoft .NET Framework Version:1.1.432 2.573;
ASP.NET
> Version:1.1.432 2.573
>
>



Nov 18 '05 #8
My virtual directory does indeed have an application setup. The bin folder
is in the subfolder along with my application.

After reading a little about this error I am more confused. Some people
think it isn't possible to enable forms authentication in a subfolder of the
root, others say you can.

I can't make it work. Seems crazy not to allow me to create a separate app
in a subfolder and secure it. I must be missing something obvious here...

-Brett-
"Pete Beech" <pe*********@ho tmail.nojunk.co m> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Have you also created an application in that virtual directory? If you open up the properties on the folder, in the application settings section of the virtual directory tab, do you see a button saying Create, or one saying
Remove? If its Remove, you have an application there. (You can also tell by the icon on the folder - its a kind of box with a globe in it if an
application has been created on the virtual directory.) .. apologies if I'm telling you stuff you already know.

Mind you, if the app boundary is the main web, and the web.config still
wouldn't work at that level, I'm not sure if it has anything to do with what I've said... Is your bin folder under the subdir of where the ASP.NET app
is, or directly under the main webs root folder?

Pete

"Brett Robichaud" <br************ @nospam.yahoo.c om> wrote in message
news:eR******** ******@tk2msftn gp13.phx.gbl...
Yes I do have this ASP App down in a subdir of the main web.

I actually already tried creating a virtual directory for my app after
seeing this error but it made no difference. I also tried copying the
web.config down to the root and it made no difference.

I'm curious why it is acting differently on this server than it is locally
on my machine? Is there some machine based policy that enforces this?

Optimally I would like to have my web.config in the subfolder. Is there a way I can do this? I have full control of the server.

-Brett-
"Pete Beech" <pe*********@ho tmail.nojunk.co m> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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" <br************ @nospam.yahoo.c om> wrote in message
news:Oi******** ******@TK2MSFTN GP12.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 ='MachineToAppl ication' 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: <authenticati on mode="Forms">
> Line 62: <forms
> Line 63: name="MIB.Ident ity"
>
>
> Source File:

C:\Webs\CorpWeb \products\image bridge\myimageb ridge\web.confi g
> Line: 61
>
>
>


--------------------------------------------------------------------------
--
> ----
>
> Version Information: Microsoft .NET Framework Version:1.1.432 2.573;
ASP.NET
> Version:1.1.432 2.573
>
>



Nov 18 '05 #9
Well, thats very strange. Normally this works fine - what OS is on the
server? - I've only ever done it on a Windows 2000 box. Anyway, ASP.NET
certainly thinks that the web.config is in a subdir of the application, for
some reason, even though you're saying it is in the application's root
directory and that there is an application defined there. Maybe you could
try removing and recreating the application through IIS?

From the documentation about the <authentication > element, it states
"Configures ASP.NET authentication support. This element can be declared
only at the machine, site, or application level. Any attempt to declare it
in a configuration file at the subdirectory or page level will result in a
parser error message."

This doesn't apply to the <authorizatio n> element, which can be defined at
any subfolder in the application's boundaries.

Pete

"Brett Robichaud" <br************ @nospam.yahoo.c om> wrote in message
news:u8******** ******@tk2msftn gp13.phx.gbl...
My virtual directory does indeed have an application setup. The bin folder
is in the subfolder along with my application.

After reading a little about this error I am more confused. Some people
think it isn't possible to enable forms authentication in a subfolder of the root, others say you can.

I can't make it work. Seems crazy not to allow me to create a separate app in a subfolder and secure it. I must be missing something obvious here...

-Brett-
"Pete Beech" <pe*********@ho tmail.nojunk.co m> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Have you also created an application in that virtual directory? If you

open
up the properties on the folder, in the application settings section of

the
virtual directory tab, do you see a button saying Create, or one saying
Remove? If its Remove, you have an application there. (You can also tell

by
the icon on the folder - its a kind of box with a globe in it if an
application has been created on the virtual directory.) .. apologies if

I'm
telling you stuff you already know.

Mind you, if the app boundary is the main web, and the web.config still
wouldn't work at that level, I'm not sure if it has anything to do with

what
I've said... Is your bin folder under the subdir of where the ASP.NET app is, or directly under the main webs root folder?

Pete

Nov 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4841
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms Authentication set up and it worked just fine. Then I realized that I needed to have some pages unsecure. I then created 2 directories. One named Secure and the other named Public. I placed my web.config file in my
1
2521
by: MJ | last post by:
I'm building an application that has a file structure similar to the following: /myapp/user_login.aspx /myapp/user_page_1.aspx /myapp/user_page_2.aspx /myapp/user_page_3.aspx /myapp/admin/admin_login.aspx /myapp/admin/admin_page_1.aspx /myapp/admin/admin_page_2.aspx
1
3962
by: techfuzz | last post by:
I'm posting my problem experience and solution I found here for other ASP.NET developers. I have a web application that uses Forms Authentication with Active Directory to control access. In this web application, I have search page that utilizes the Windows Indexing Service (MSIDXS provider). For reasons I'm not aware of at this time, setting <identity impersonation="true" /> in the web.config causes an error whenever you try to search.
3
4871
by: Kris van der Mast | last post by:
Hi, I've created a little site for my sports club. In the root folder there are pages that are viewable by every anonymous user but at a certain subfolder my administration pages should be protected by forms authentication. When I create forms authentication at root level it works but when I move my code up to the subfolder I get this error: Server Error in '/TestProjects/FormsAuthenticationTestingArea' Application.
4
12331
by: Andrew Banks | last post by:
Can anyone help me out with why the following code in web.config <authentication mode="Forms" /> <forms loginUrl = "Secure/Login.aspx" /> </authentication> gives me the following error Configuration Error Description: An error occurred during the processing of a configuration file
0
4249
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET Applications and owner of Access Microsystems. Doug can be reached at doug@accessmicrosystems.com. --------------------------------------------------------------------------------
12
1625
by: Brett Robichaud | last post by:
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. ---------------------------------------------------------------------------- ----
2
1426
by: Thomas Scheiderich | last post by:
I am trying to set up forms authentication in my IIS pages. I have a folder inside of my root folder I am trying to protect and I am getting an error when a page in the folder is accessed. The error is: **************************************************************************** **** Server Error in '/' Application. ----------------------------------------------------------------------------
1
1627
by: Sumaira Ahmad | last post by:
Hi, Please help me with this.. I am trying to use Forms Authentication in a sample project. I basically want to have two folders in my application , one in which I store pages that can be accesed without authentication and one which can be accessed only by authenticated users.. In my Anonymous folder: there is a default.aspx - which is a start up page
2
1656
by: Darrel | last post by:
My app has an 'admin' folder. This is the only directory i need to apply forms authentication to. Googling seems to indicate that the solution is to just give the admin folder it's own config file and set the authentication rules there. However, when I do that, I get this error: -------------------------- Parser Error Message: It is an error to use a section registered as
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10364
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.