简体   繁体   中英

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?

This fixed it for me:

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM