Re: How do I configure IIS for the following?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Each virtual directory has to be set up as an application. This can be done
programatically, if you wish to take the time, or you can open the Internet
Services Manager and set up each directory as an application.

Open ISM
Expand Default website
Find folder
Right click
On the directory tab, click Create - Execute permissions should be scripts
only

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"Andrew Chalk" <achalk@xxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:e2kzE9H4GHA.1588@xxxxxxxxxxxxxxxxxxxxxxx
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





.



Relevant Pages

  • RE: More than One
    ... As for ASP.NET 2.0 web application hosting in IIS website, ... single virtual directory which is configured as "Application"(have ... each application's runtime configuration collection are ... we suggest deploy separate applications (haven't particular ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: VS.NET 2005 and the "allowDefinition=MachineToApplication" error
    ... allowDefinition='MachineToApplication' in its configuration file. ... No, it's not, but the same rules apply for the internal web server as for IIS. ... If you need to use 'MachineToApplication' sections, you must create a virtual directory. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Logon using client certificate
    ... Right click on the virtual directory in the IIS MMC and check the ... An error occurred during the processing of a configuration file ... >below and modify your configuration file appropriately. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IIS Bug
    ... I don't understanrfrrrr5d your configuration. ... IIS Supportability Lead ... Virtual directory is set to anonymous ... >>password and authentication fails. ...
    (microsoft.public.inetserver.iis.security)
  • Re: sql 2000 with a frontal IIS 6.0 template XML
    ... If you are using IIS6, you should enable some options on iis configuration ... > I would like to use http to send query to my sql server ... > I've configurated the virtual directory IIS with the sql tool ...
    (microsoft.public.sqlserver.xml)