Make sure you don't have any additional web.config files "lurking" in the folders. I have done this when I tried to refer to class projects inside a web project.
How to fix CachingSection Duplicate Section on IIS
Domanda
In IIS 7.5 when i select a page writed in html (not created in .Net), I have an error 500. When I go to this *.html page, but in the rest of this web app works fine.
Investigating a little more, I get the following error: "There is a duplicate 'cachingSection' section defined"
I tried to do the following:
*Compare web.config root file and machine.config for duplicated 'cachingSection' sections. And both files are ok.
*Compare web.config root file with web.config located on Views folder. And both files not have 'duplicated sections'. *In my PC, i ran this web app and works fine.
This .Net app in my pc works with .Net 4
¿Any idea how to solve this error?
Thanks in advance,
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow