My company has a website built in ASP.NET and targets .NET 3.5. It is too mangled and massive to be converted to .NET 4 in a timely manner. I am tasked with building a ticketing system. I want this ticketing system to be a completely separate application from the main application.
I added a directory to the website called "TicketingSystem", then in IIS I set this folder as an application, using an app pool that targets .net 4.0. I assumed this application would not be affected by the application above it, especially since it uses its own app pool, but it would seem it is being affected somehow. Navigating to this directory with my .net 4 web app in it generates this error:
http://www.chevtek.com/content/error.jpg
I covered the sensitive information like file paths and stuff, but the line that says config file has a path to the parent application's config file, not the config file of the .net 4 app. Is it not possible to nest a .net 4.0 app within a .net 3.5 app?
Edit
As requested here is a screenshot of the IIS directory structure.