문제

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,

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top