0

I have an asp.net '4.5' site (Orion Solarwinds) and I would like to add functionality. This can be done with a virtual directory, but adding anything to that folder will cause a recompile and interrupt service to the user. It should be possible(and done it many times before) to 'just' add a application. So I should be able to use a separate application pool. BUT what happens is that even with a index.html file in an empty application with a web.config in there, it still seems to inherit from the host webconfig. Thus this is not a Standalone ASP.Net Application in an existing website. I have tried to decouple this basic application - no joy. How can I fix this?

1
  • Could you post the screenshot of IIS? Commented Sep 12, 2016 at 17:44

1 Answer 1

1

You can try using inheritInChildApplication by wrapping sections you don't want to inherit in host webconfig with this:

<location path="." inheritInChildApplications="false">

There's more details in this other thread

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, there were a lot of sections to isolate. msdn.microsoft.com/en-us/library/b6x6shw7(v=vs.100).aspx
Thanks, there were a lot of sections to isolate. Still have a problem of wanting DLL from the parent BIN folder, so copying that to the new folder works, but feels like cheating :( Thanks again. msdn.microsoft.com/en-us/library/b6x6shw7(v=vs.100).aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.