the sandman
the sandman

Reputation: 1029

IIS7 Application within an Application issue

I have a working asp.net 4.0 application inside IIS. We will call this 'App A'.

I want to add a completely separate 4.0 application from within it that has no dependencies or is related to it at all. We will call this 'App B'.

I moved App B inside the root of App A and Converted it to a Web App and then assigned it to its own seperate App Pool.

When i try to access App B, it is giving me errors(Could not load file or assembly) that DLL's are missing in App B that are only in App A and have no relation or dependencies in App B as it is completely different.

Any ideas how to get App B to run completely separate from App A, when nested in its root?

Upvotes: 2

Views: 1350

Answers (1)

the sandman
the sandman

Reputation: 1029

This fixed it for me:

<location path="." inheritInChildApplications="false"> 
  <system.webServer>
    <!-- ... -->
  </system.webServer>
</location>

Nested ASP.NET 'application' within IIS inheriting parent config values?

Upvotes: 1

Related Questions