HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information:

Module   ProtocolSupportModule
Notification   SendResponse
Handler   AutowiredPageHandlerFactory
Error Code   0x800700b7
Config Error   Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'X-Frame-Options'
Config File   \\?\E:\Websites\prod-cd.masdar.ae\web.config
Requested URL   http://shamspower.ae:80/sitecore/service/notfound.aspx?item=%2fsustainability%2fenvironment%2f&user=extranet%5cAnonymous&site=Shamspower
Physical Path   E:\Websites\prod-cd.masdar.ae\sitecore\service\notfound.aspx
Logon Method   Anonymous
Logon User   Anonymous

Config Source:

   81:           <add name="Content-Security-Policy" value="default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data: https://s.gravatar.com https://*.wp.com/cdn.auth0.com/avatars; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' 'unsafe-inline' https://fonts.gstatic.com; upgrade-insecure-requests; frame-ancestors 'self'; " />
   82:           <add name="X-Frame-Options" value="SAMEORIGIN" />
   83:         </customHeaders>

More Information:

This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

View more information ยป