Thank you for the quick response. I am on the same page as you. Currently trying the <clear /> and the <remove /> and this is what I have thus far.
This is the web.config from the sub application. The main web.config is the standard DNN web.config after install. It has not been modified except for adding an additional connection string.
I tried the <clear /> method first in each section and ended up with an error in stating, "No http handler was found for request type 'GET'". And, not knowing each and every element needed for a web.config file, I figured I would simply <remove /> entries that referenced DotNetNuke. Now the error is,
Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. and this is the same error as when I first placed the subdirectory into the DNN environment.
JW
~~~ sub application web.config ~~~
<configuration>
<appSettings>
<clear/>
</appSettings>
<connectionStrings></connectionStrings>
<system.web>
<compilation debug="true"></compilation>
<httpModules>
<remove name="Compression"/>
<remove name="RequestFilter"/>
<remove name="UrlRewrite"/>
<remove name="Exception"/>
<remove name="UsersOnline"/>
<remove name="DNNMembership"/>
<remove name="Personalization"/>
</httpModules>
<httpHandlers>
<remove verb="*" path="*.captcha.aspx"/>
<remove verb="*" path="LinkClick.aspx"/>
<remove verb="*" path="RSS.aspx"/>
<remove verb="*" path="Logoff.aspx"/>
</httpHandlers>
<pages>
<namespaces>
<remove namespace="DotNetNuke.Services.Localization" />
<remove namespace="DotNetNuke.Entities.Users" />
<remove namespace="DotNetNuke" />
<remove namespace="DotNetNuke.Common" />
<remove namespace="DotNetNuke.Data" />
<remove namespace="DotNetNuke.Framework" />
<remove namespace="DotNetNuke.Modules" />
<remove namespace="DotNetNuke.Security" />
<remove namespace="DotNetNuke.Services" />
<remove namespace="DotNetNuke.UI" />
<remove namespace="DotNetNuke.Entities.Portals" />
<remove namespace="DotNetNuke.Common.Utilities" />
<remove namespace="DotNetNuke.Services.Exceptions" />
<remove namespace="DotNetNuke.Entities.Tabs" />
</namespaces>
</pages>
</system.web>
<system.webServer>
<modules>
<remove name="Compression"/>
<remove name="RequestFilter"/>
<remove name="UrlRewrite"/>
<remove name="Exception"/>
<remove name="UsersOnline"/>
<remove name="DNNMembership"/>
<remove name="Personalization"/>
</modules>
<handlers>
<remove name="LogoffHandler"/>
<remove name="RSSJandler"/>
<remove name="LinkClickHandler"/>
<remove name="CaptchaHandler"/>
</handlers>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
</configuration>