PVWA - Http Error 500.19 - Internal Server Error
143
Created On 11/10/26 11:04 AM - Last Modified 11/10/26 16:12 PM
Symptom
When accessing the PVWA you get HTTP error 500.19.
Config Error: Cannot add duplicate collection entry of type 'mimemap' with unique key attribute 'FileExtension' set to '.svg'
Can also apply to other file extensions.
Environment
10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7 PVWA
Cause
There are conflicting mimeMap extensions. One solution would be to simply remove one of the two conflicting mimeMap extensions from one of the config files. However, in some rare scenarios the IIS administator may need to not remove one of the two conflicting mime mappings.
Resolution
The easiest way to fix this is to edit the web.config that is specified on the error page and add <remove fileExtension=".svg" /> before the mimeMapfileExtension
For example:
<staticContent>
<remove fileExtension=".svg" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
</staticContent>