Creating .NET 3.0 sub-applications within .NET 1.1 applications in IIS/ASP.Net

Posted by Karen on Stack Overflow See other posts from Stack Overflow or by Karen
Published on 2010-03-31T19:07:44Z Indexed on 2010/04/10 13:53 UTC
Read the original article Hit count: 942

I am basically trying to do the same thing as this question, create a new application within a folder so it could be accessed as follows.

* http://www.domain.com/ < Main App
* http://www.domain.com/newapp < New App

The problem is that newapp is reading the web.config from the Main App, which is causing errors because it doesn't have all the same dlls etc.
For New App, in IIS, the starting point is set at /newapp, so I am not sure why it is reading the web.config from / at all. It is set as it's own application.

I am testing this in IIS6 on XP Pro, so not sure if that makes a difference. The Main App is dotnet 1.1, and New App is 3.0.

Edit: Adding 'inheritInChildApplications to <location> doesn't work in 1.1, you get an error:

Parser Error Message: Unrecognized attribute 'inheritInChildApplications'

© Stack Overflow or respective owner

Related posts about iis

Related posts about ASP.NET