B
Brett Robichaud
Our web site is mostly classic ASP. I recently created a small ASP.NET
application that will reside in a subfolder a few levels deep. I want to
use forms authentication within this subfolder.
I had it all working just fine on my local WinXP box. But when I move it
out to our Win2K staging server I cannot access the application. It get the
error below. I took a look at the machine.config on the server and it does
indeed have allowDefinition="MachineToApplication" for authentication. I
tried changing it to Everywhere with no success.
On advice I found in other newsgroups I have verified that in IIS I created
a virtual directory for this app and that it is in fact setup as an
application.
It must be possible to use forms authentication in this scenario. What can
I do to make this work?
-Brett-
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: loginUrl="login.aspx"
Source File: C:\Webs\CorpWeb\products\imagebridge\myImageBridge\web.config
Line: 61
application that will reside in a subfolder a few levels deep. I want to
use forms authentication within this subfolder.
I had it all working just fine on my local WinXP box. But when I move it
out to our Win2K staging server I cannot access the application. It get the
error below. I took a look at the machine.config on the server and it does
indeed have allowDefinition="MachineToApplication" for authentication. I
tried changing it to Everywhere with no success.
On advice I found in other newsgroups I have verified that in IIS I created
a virtual directory for this app and that it is in fact setup as an
application.
It must be possible to use forms authentication in this scenario. What can
I do to make this work?
-Brett-
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: loginUrl="login.aspx"
Source File: C:\Webs\CorpWeb\products\imagebridge\myImageBridge\web.config
Line: 61