title: Tool to validate a web.config
body: <p>Is there a tool that I can use to validate my web.config? The reason I ask is that the file appears to be valid XML and IIS is complaining that file is invalid. No explanation or indication as to why.</p>
  
  <p>Thanks in advance.</p>
  
  <p>Edit: </p>
  
  <p>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     IIS Web Core
  Notification       Unknown
  Handler    Not yet determined
  Error Code     0x8007000d
  Config Error<br>
  Config File    \?\C:\DignityFiles\Source\simplicity\Simplicity\web.config
  Requested URL      <a href="http://simplicity-local.dignitytest.co.uk:80/" rel="noreferrer">http://simplicity-local.dignitytest.co.uk:80/</a>
  Physical Path<br>
  Logon Method       Not yet determined
  Logon User     Not yet determined
  Config Source:</p>
  
  <p>-1: 
      0: </p>
  
  <p>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.</p>
  
  <p>View more information » [This takes you to "<a href="https://support.microsoft.com/en-gb/help/942055/-http-error-500-19-error-when-you-open-an-iis-7-0-webpage" rel="noreferrer">https://support.microsoft.com/en-gb/help/942055/-http-error-500-19-error-when-you-open-an-iis-7-0-webpage</a>"]</p>
  
  <p><a href="https://i.stack.imgur.com/b2E8A.png" rel="noreferrer"><img src="https://i.stack.imgur.com/b2E8A.png" alt="Screen shot of the IIS Error"></a></p>
  
  <p><a href="https://i.stack.imgur.com/aiZow.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aiZow.png" alt="Screen shot of the support page"></a></p>
  
  <p><a href="https://u40127865.dl.dropboxusercontent.com/u/40127865/Web.config" rel="noreferrer">Link to the web.config (<strong>Note:</strong> sensitive information has been redacted)</a></p>