RSV-SRV-0040 An application error has occurred

RSV-SRV-0040 An application error has occurred. Contact your Administrator. CCLOutOfMemoryError:0:Fatal:
RSV-SRV-0042 Trace back: RSReportService.cpp

Running large report generates the RSV-SRV-0040 error message.

This problem occurs when running a large report after adding more data to the report.

In order to solve this issue check the following:

  1. Temp folder is not larger than 4 GB
  2. If not the above issue check the memory on the system or consider adding more RAM to your computer
  3. Reduce the query size, with filters to reduce the amount of data retrieved by the report

DPR-ERR-2072 error The request failed. It was directed to a server that is not reachable.
RSV-SRV-0040 An application error has occurred. Contact your Administrator.

After adding additional dispatchers all reports fail:DPR-ERR-2072 or RSV-SRV-0040
When only one of the dispatchers is running the error does not occur. When a second dispatcher is enabled all reports fail.

The CAF (Cognos Application Firewall) was disabled on the original dispatcher. The newly added dispatchers were configured with enabled CAF. The CAF should set consistently in cognos configuration for all components in a distributed environment.

Enable or disable the CAF on all servers

  1. Open cognos configuration.
  2. Expand the tree to…
  3. Security > Cryptography > Cognos Application Firewall
  4. Set ‘Enable CAF validation’ to True.
  5. Save configuration
  6. Restart Cognos services