A
Andrew Chalk
How do I configure IIS for the following.
I have a directory called base and then several directories at the next
level down corresponding to versions of my ASP app.
I.e.
BASE
Ver1.0
Ver1.1
...
Ver1.n
Each Ver... directory has my complete ASP project in it. I want the URL to a
specific version to be, for example, http://localhost/Ver1.0/login.asp.
Currently, I have WEBshared BASE and given it an alias. However, invoking
this URL gives me the error below. Any idea how to get this to work? I'm
trying to order various project versions without having them as a long list
in IIS.
Many thanks.
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: <authentication mode="Windows" />
Line 60: -->
Line 61: <authentication mode="Forms" >
Line 62: <forms name=".ASPXUSERDEMO" loginUrl="login.aspx"
protection="All" timeout="60" />
Line 63: </authentication>
Source File: D:\Web Sites\CallRecording\20060426\web.config Line: 61
I have a directory called base and then several directories at the next
level down corresponding to versions of my ASP app.
I.e.
BASE
Ver1.0
Ver1.1
...
Ver1.n
Each Ver... directory has my complete ASP project in it. I want the URL to a
specific version to be, for example, http://localhost/Ver1.0/login.asp.
Currently, I have WEBshared BASE and given it an alias. However, invoking
this URL gives me the error below. Any idea how to get this to work? I'm
trying to order various project versions without having them as a long list
in IIS.
Many thanks.
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: <authentication mode="Windows" />
Line 60: -->
Line 61: <authentication mode="Forms" >
Line 62: <forms name=".ASPXUSERDEMO" loginUrl="login.aspx"
protection="All" timeout="60" />
Line 63: </authentication>
Source File: D:\Web Sites\CallRecording\20060426\web.config Line: 61