<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET files and inheritance</title><link>http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx</link><description>I&amp;#39;ve been completely silent on my blog for a few months while having my head down in projects, but I thought I should start up some activity, even if it&amp;#39;s a quickie. I feel that I&amp;#39;ve been covering so much ground but not enough time to report</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Web.config Inheritance </title><link>http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx#7208825</link><pubDate>Thu, 17 Sep 2009 03:12:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7208825</guid><dc:creator>Shawn Weisfeld</dc:creator><author>Shawn Weisfeld</author><description>&lt;p&gt;Web.config Inheritance&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7208825" width="1" height="1"&gt;</description></item><item><title>MS Dynamics CRM activity preview, queue view customizing by http module &amp;laquo; stefan-scheller.com</title><link>http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx#7135383</link><pubDate>Sat, 27 Jun 2009 06:27:43 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7135383</guid><dc:creator>MS Dynamics CRM activity preview, queue view customizing by http module « stefan-scheller.com</dc:creator><author>MS Dynamics CRM activity preview, queue view customizing by http module « stefan-scheller.com</author><description>&lt;p&gt;Pingback from &amp;nbsp;MS Dynamics CRM activity preview, queue view customizing by http module &amp;amp;laquo; stefan-scheller.com&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7135383" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET files and inheritance</title><link>http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx#2874876</link><pubDate>Wed, 20 Jun 2007 15:40:28 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2874876</guid><dc:creator>Morten Pedersen</dc:creator><author>Morten Pedersen</author><description>&lt;p&gt;Thanks-very good post.&lt;/p&gt;
&lt;p&gt;It also helped me to remove the assemblies loaded at the parent application like:&lt;/p&gt;
&lt;p&gt;&amp;lt;compilation debug=&amp;quot;true&amp;quot; defaultLanguage=&amp;quot;c#&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;assemblies&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;remove assembly=&amp;quot;S&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2874876" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET files and inheritance</title><link>http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx#2844792</link><pubDate>Sun, 17 Jun 2007 10:21:56 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2844792</guid><dc:creator>tosmhvm</dc:creator><author>tosmhvm</author><description>&lt;p&gt;the pharmacy in which they practice. &amp;lt;a href= &lt;a rel="nofollow" target="_new" href="http://1url.org/go/1yolui"&gt;http://1url.org/go/1yolui&lt;/a&gt;|Viagra 30 pills x 100 mg&lt;/p&gt;
&lt;p&gt; &amp;gt;&amp;lt;/a&amp;gt;*[url=&lt;a rel="nofollow" target="_new" href="http://1url.org/go/1yolui"&gt;http://1url.org/go/1yolui&lt;/a&gt;|Viagra 30 pills x 100 mg&lt;/p&gt;
&lt;p&gt;][/url]* use to provide patients with positive health outcomes&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2844792" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET files and inheritance</title><link>http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx#2605301</link><pubDate>Wed, 16 May 2007 14:13:14 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2605301</guid><dc:creator>jrblack10</dc:creator><author>jrblack10</author><description>&lt;p&gt;I have been reading many Blogs on the issue of web.config and inheritance, and yours seems to clear up a few things for me, but I still have a problem. &amp;nbsp;I have a .Net 2 app in the root web and in virtual folders/web I have .Net 1.1 app (Reporting Services).&lt;/p&gt;
&lt;p&gt;Below is my error:&lt;/p&gt;
&lt;p&gt;Parser Error Message: Child nodes are not allowed.&lt;/p&gt;
&lt;p&gt;&amp;lt;system.web&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;lt;pages&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;controls&amp;gt; &amp;lt;- THIS IS REPORTED AS THE ERROR&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;add tagPrefix=&amp;quot;asp&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; namespace=&amp;quot;System.Web.UI&amp;quot; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; assembly=&amp;quot;System.Web.Extensions, &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Version=1.0.61025.0, Culture=neutral, &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PublicKeyToken=31bf3856ad364e35&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;If you can help clear this up, that would be GREAT!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2605301" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET files and inheritance</title><link>http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx#2150661</link><pubDate>Fri, 30 Mar 2007 13:44:48 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2150661</guid><dc:creator>Rob</dc:creator><author>Rob</author><description>&lt;p&gt;The following works for me:&lt;/p&gt;
&lt;p&gt;Put the &amp;lt;add&amp;gt; in the root application. The sub app does not require any modifications or &amp;lt;remove&amp;gt; tags this way...&lt;/p&gt;
&lt;p&gt;&amp;lt;add verb=&amp;quot;GET&amp;quot; path=&amp;quot;myhandler.axd&amp;quot; type=&amp;quot;Module.Classname, Module&amp;quot; validate=&amp;quot;false&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2150661" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET files and inheritance</title><link>http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx#1667415</link><pubDate>Wed, 14 Feb 2007 13:38:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1667415</guid><dc:creator>Claire</dc:creator><author>Claire</author><description>&lt;p&gt;Thanks for the clear explanation, this can be very confusing the first time you plonk a website in a subdirectory. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can also use &amp;lt;clear /&amp;gt; inside &amp;lt;httpModules /&amp;gt;&lt;/p&gt;
&lt;p&gt;And to clear &amp;lt;add verb=&amp;quot;&amp;quot; path=&amp;quot;&amp;quot; /&amp;gt; settings within &amp;lt;httpHandlers&amp;gt; use &amp;lt;remove verb=&amp;quot;&amp;quot; path=&amp;quot;&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1667415" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET files and inheritance</title><link>http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx#1617041</link><pubDate>Sat, 10 Feb 2007 20:23:38 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1617041</guid><dc:creator>Eric</dc:creator><author>Eric</author><description>&lt;p&gt;Thanks for this great post. It helped me to successfully integrate a sub application into Community Server!&lt;/p&gt;
&lt;p&gt;One useful addition may be this. If the root web.config has a pages setting like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;pages pageBaseType=&amp;quot;SomeType, SomeAssembly&amp;quot; /&amp;gt; and that assembly is in the root's bin directory. The best way to 'undo' this in the subapplication is to add the pages tag but replace the pageBaseType with the default ASP .NET page, like so:&lt;/p&gt;
&lt;p&gt;&amp;lt;pages pageBaseType=&amp;quot;System.Web.UI.Page&amp;quot; /&amp;gt; &lt;/p&gt;
&lt;p&gt;Thanks again!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1617041" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET files and inheritance</title><link>http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx#1583979</link><pubDate>Thu, 08 Feb 2007 11:08:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1583979</guid><dc:creator>jaredbarr</dc:creator><author>jaredbarr</author><description>&lt;p&gt;If a sub application requires its own forms authentication,&lt;/p&gt;
&lt;p&gt;root/ = 2.0 application requiring authentication&lt;/p&gt;
&lt;p&gt;root/subapplication/ = 2.0 application requiring separation authentication&lt;/p&gt;
&lt;p&gt;The subapplication will not seem to read the &amp;lt;authentication&amp;gt; section of its own web.config. &amp;nbsp;In fact it won't redirect to the root's login page either as authorization is required. &amp;nbsp;I have several upcoming apps which would require this but cannot understand how to have a web.config in a sub application to work.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1583979" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET files and inheritance</title><link>http://weblogs.asp.net/owscott/archive/2005/12/29/ASP.NET-files-and-inheritance.aspx#1423140</link><pubDate>Wed, 17 Jan 2007 12:02:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1423140</guid><dc:creator>Mark Wisecarver</dc:creator><author>Mark Wisecarver</author><description>&lt;p&gt;Awesome! A real life saver!&lt;/p&gt;
&lt;p&gt;Kicked it: &lt;a rel="nofollow" target="_new" href="http://community.discountasp.net/default.aspx?f=24&amp;amp;m=15549"&gt;http://community.discountasp.net/default.aspx?f=24&amp;amp;m=15549&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1423140" width="1" height="1"&gt;</description></item></channel></rss>