Alot of people run into the issue of creating a virtual directory which they want to host a .NET application in but it conflicts with the web.config from the web applications root.
E.G. I have www.blacknight.com running a .NET website. I then want to create www.blacknight.com/app2 with it's own independent application also.
Normally this would cause the two web.configs to conflict, to overcome this follow these steps.
1. Open the web.config for www.blacknight.com
2. Before the <system.web> add this line: <location inheritInChildApplications="false">
3. After the </system.web> add this line: </location>
4. Save
Re-run your application and that will resolve the conflict.
Comments
0 comments
Article is closed for comments.