IIS 7 and Above
IIS 7.5 : HTTP Error 500.19 - Internal Server Error - The requested p...
Last post Jul 28, 2010 05:25 PM by KristoferG
Jul 28, 2010 08:18 AM|tching|LINK
I have a problem when trying to access to a website, which is stored on a Windows Server 2008 R2 Standard.
I don't understand what I have to do to fix this problem.
Can anybody help me? This site must work before 17h (GMT+1)...
Thanks in advance.
Detailed Error Information
207: <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=126.96.36.199, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
208: <add name="ArCacheItem" verb="*" path="*.ArCacheItem" type="DataDynamics.ActiveReports.Web.Handlers.WebCacheAccessHandler, ActiveReports.Web, Version=5.2.1013.2, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" preCondition="integratedMode" />
HTTP Error 500.19
The requested page cannot be accessed because the related configuration data for the page is invalid
Internal Server Error
Jul 28, 2010 09:24 AM|tching|LINK
I deleted the line 208 in the file web.config, and it works!
Jul 28, 2010 05:25 PM|KristoferG|LINK
For the reference, in case someone else is having the same problem, I will explain the key elements of the error.
"Config file" tells you which file the error is located. In this case, it was C:\inetpub\wwwroot\TeamCentral\web.config. So we know which file we need to look at.
"Config error" tells us what is wrong. In this case it is a duplicate collection of type 'add' which has the same name. This basically means that you have two identical tags. This sometimes happen if you manually edit the file, or some occasions, when you
restore or migrate a website. The easiest thing to do is just search for the name in web.config, and identify the duplicate entries, and delete one of them (as you have done).
I hope this explanation helps someone else in the same situation.