Answered by:
inheritInChildApplications property not appearing.

Question
-
User-43894947 posted
G'day. Got a little problem with my <location> tag in a root web.config.
For some reason, it comes up as invalid. Doesn't even come up in intellisense.
I do have system.configuration reference in the project file. Also, I have set advanced compile options to .NET 3.5.
Has it become obsolete now or some such?
Wednesday, February 6, 2008 4:07 AM
Answers
-
User372121194 posted
Hi,
Thanks for your response.
As far as I know, the web.config Intellisense doesn't show this attribute and is not noticed on the location Element MSDN page.
You can try to just use it in the localtion element.
I hope this helps.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, February 11, 2008 1:05 AM -
User-43894947 posted
Yes, well, I forced it in there and it compiled and deployed ok. No errors so far so I guess .NET will just have to lump it for now.
Thanks for caring guys.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, February 11, 2008 6:01 PM
All replies
-
User372121194 posted
Hi,
As far as I know, the inheritInChildApplications attribute doesn’t appear in the Visual Studio intellisense. So you can try something like:
<location inheritInChildApplications="false">
<system.web>
</system.web>
</location>For more information, you can refer to http://forums.asp.net/p/1164283/1935082.aspx
If this doesn’t help you, please feel free to let me know.
I hope this helps.Sunday, February 10, 2008 10:40 PM -
User-43894947 posted
Yeah, that's basically what I did in the first place. No cigar.
For some reason, inheritInChildApplications is not a valid property of the location tag for me. Odd yes?
Sunday, February 10, 2008 11:52 PM -
User372121194 posted
Hi,
Thanks for your response.
As far as I know, the web.config Intellisense doesn't show this attribute and is not noticed on the location Element MSDN page.
You can try to just use it in the localtion element.
I hope this helps.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, February 11, 2008 1:05 AM -
User-43894947 posted
Yes, well, I forced it in there and it compiled and deployed ok. No errors so far so I guess .NET will just have to lump it for now.
Thanks for caring guys.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, February 11, 2008 6:01 PM