Introduction
This document describes how to troubleshoot Cisco ECE Web server web.config file and shows how to solve a common 500.19 Internal Server Error when the file becomes corrupted or is modified.
Prerequisites
Requirements
Cisco recommends that you have knowledge of these topics:
- Cisco Email and Chat Server (ECE)
- Microsoft Internet Information Services (IIS)
Components Used
The information in this document is based on Cisco ECE 11.6.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.
Troubleshoot HTTP 500.19 Internal Server Error
URL:http://localhost/system/web/apps/login/
Here's a step by step process to resolve it.
Step 1. Ensure all the services are active on all the servers in ECE deployment and no process is in stopped state.
Step 2. If you notice in this case that the error refers to custom headers, since most of the times it is hard to track what has changed to cause the connection to break, it is best to replace the faulty file.
To do so, navigate to C:\inetpub\wwwroot\web.config
Find this line:
<action type= “Rewrite” url= http://<FQDN>:9001/system/web/ logRewrittenUrl=”true” />
Step 3. Copy: http://<FQDN>:9001/system/web/ and try to access it. The output must look like this:
Note: If you are able to access and get this format of data, it means you are able to access the application server.
There are two files named web.config, one local to the server which must not be replaced and the other is global which is replaceable.
This file is local to your server and must never be replaced, you can however use to test if the application server is accessible.
C:\inetpub\wwwroot\web.config file
This file is replaceable and if you notice in the error it also shows this file location as faulty.
C:\ECE\eService\web\web.config
Step 4. Copy the file from where it works fine or lab environment from C:\ECE\eService\web\web.config and copy it into the affected server C:\ECE\eService\web\web.config.
Note: If you do not have a good copy, please contact Cisco TAC to get a copy of a lab file.
Step 5. After file is replaced, you must now be able to access the portal. Restart WebServer if needed..