This topic is locked

Running 2 project in IIS

11/8/2006 6:07:05 PM
ASPRunner.NET General questions
swat author

I have created 2 aspx web sites using asprunner.net and I want to run both in one IIS folder-
www/website/

www/website/admin/
I am getting an error-

Eugene 11/9/2006

please, advise what error you get

swat author 11/9/2006

Server Error in '/aspnet' 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 33: ASP.NET to identify an incoming user.

Line 34: -->

Line 35: <authentication mode="Windows"/>

Line 36: <!--

Line 37: The <customErrors> section enables configuration
Source File: E:\Inetpub\wwwroot\aspnet\admin\web.config Line: 35
--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

Eugene 11/9/2006

To resolve it, Right Click on the virtual directory - select properties and then click on "Create" next to the "Application" Label and the textbox. It will automatically create the "application" using the virtual directory's name.