This is an archive related to a previous version of Esri Maps for IBM Cognos.
If you need the current version go to http://doc.arcgis.com/en/maps-for-cognos/.
CGI errors
If a CGI Error appears while you are installing or using Esri Maps for IBM Cognos, try the following troubleshooting steps.
- In a web browser, enter the URL path to em4c.cgi using your organization's host name and path. For example:
http://localhost/ibmcognos/em4c/cgi-bin/em4c.cgi
If this results in a CGI Error, verify that the following are true:
- If the CGI Error persists, enter the following path into a web browser using your organization's host name and ArcGIS Online or Portal for ArcGIS URL:
http://localhost/ibmcognos/em4c/cgi-bin/em4c.cgi?https://<arcgisUrl>/sharing/rest/accounts/self?f=json
If the error persists, try any of the following:
- Ensure that the web server can resolve the host name of the ArcGIS Online or Portal for ArcGIS URL, as follows:
- If Internet Information Services (IIS) 8 is configured as the web server, enable Anonymous Authentication on the em4c\cgi-bin virtual directory.
- If IIS is being used but enabling Anonymous Authentication does not resolve the
problem, try changing the Impersonate User setting to
true (false is the default).
For more information, see Configure Microsoft Internet Information Services 7.x or 8.x. - Ensure that each EM4C Gateway in your environment has permission to access the specified ArcGIS Online or Portal for ArcGIS URL. For example, the port might be blocked by a firewall.
- Ensure that ArcGIS for Server is running.
- If the link in fails with an HTTP
Error 403 message, there might be a missing property in the
proxy.conf file on EM4C Gateway. If this file contains matchUrls=true but does not contain serverUrl=<arcgisUrl>, do one of the following:
- Change the value for
matchUrls to false (for example, matchUrls=false)
- Add a new line with the following property
specifying your organization's ArcGIS Online or Portal for ArcGIS
URL:
serverUrl=<arcgisUrl>
- If the above suggestions do not resolve the error, try testing other URLs to ensure that the em4c.cgi proxy is working. For example:
http://localhost/ibmcognos/em4c/cgi-bin/em4c.cgi?http://www.esri.com
If this URL generates an error, it could mean that em4c.cgi does not have internet access or is blocked by a firewall.
- If the previous steps do not resolve the CGI Error, look for details in the log file. The log file (cgiError.log) is normally found in <EM4C_Gateway_location>\temp. If you need help reading and understanding the log file, contact Esri Support .