Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...ISAPI Asp.Net Duplicate Settings in Config Files Cause 500.19 ErrorISAPI Asp.Net Duplicate Settings in Config Files Cause 500.19 Error
Previous
 
Next
New Post
6/26/2015 12:41 PM
 

Every time we reboot our DNN Server, the config files get reset and it causes our websites to throw a 500.19 error reading that you cannot have duplicates of the asp.net filter settings. There are 2 places where these can be set in the ApplicationHost.config and the "ApplicationPoolNameOfYourChoice".config (in my case DNN_Main) under inetpub/temp/apppools folder. So now every time I reboot the server I go into the DNN_Main.config file and remove the extra lines for ASP.Net_4.0_32bit and64bit under the <isapifilters>. I restart IIS and it all works again. It appears DNN includes its own references to the asp.net filters so how can I stop this duplication from resetting each time I reboot the server? Has anyone else run into the same issues and how did they take care of it?

 

Below are the lines of code I took out of the config files from notepad so you can see what I'm referring to:

)))))APPLICATIONHOST.CONFIG under system32/inetsrv:

<location path="DNN_Main">
<system.webServer>
       <isapiFilters>
  <filter name="ASP.Net_4.0_32bit" path="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" preCondition="bitness32" />
  <filter name="ASP.Net_4.0_64bit" path="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" preCondition="bitness64" />
        </isapiFilters>
</system.webServer>
</location>

<isapiFilters>
  <filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv2.0" />
  <filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv2.0" />
  <filter name="ASP.Net_2.0_for_V1.1" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="runtimeVersionv1.1" />
  <filter name="ASP.Net_4.0_64bit" path="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="runtimeVersionv4.0,bitness64" />
  <filter name="ASP.Net_4.0_32bit" path="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="runtimeVersionv4.0,bitness32" />
</isapiFilters>
</system.webServer>



)))))APPLICATIONPOOL.CONFIG under inetpub/temp/apppools


<location path="DNN_Main">
        <system.webServer>
            <isapiFilters>
                <filter name="ASP.Net_4.0_32bit" path="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" preCondition="bitness32" />
                <filter name="ASP.Net_4.0_64bit" path="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" preCondition="bitness64" />
            </isapiFilters>
        </system.webServer>
    </location>


<location path="" overrideMode="Deny">
        <system.webServer>

        <isapiFilters>
            <filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv2.0" />
            <filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv2.0" />
            <filter name="ASP.Net_2.0_for_V1.1" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="runtimeVersionv1.1" />
                (((((Here is where these 2 extra lines get removed

        <filter name="ASP.Net_4.0_32bit" path="C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" preCondition="bitness32" />
                <filter name="ASP.Net_4.0_64bit" path="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" preCondition="bitness64" />
               ))))))

        </isapiFilters>
        </system.webServer>
    </location>

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...ISAPI Asp.Net Duplicate Settings in Config Files Cause 500.19 ErrorISAPI Asp.Net Duplicate Settings in Config Files Cause 500.19 Error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out