Purpose (problem description)

This page will help you to solve the following issue you may face when updating the management database.

A fatal error occurs indicating that there is an access violation when executing a DLL as seen in the screenshot below:

Observed in CAST Version


Release

Yes/No

8.3(tick)
Observed in RDBMS

RDBMS

Yes/No

CSS(tick)
Step by Step scenario
  1. Upgrade database
  2. Obtain 'Error Executing DLL' with a comment about access violation.
Action Plan

Perform the below actions

  1. Check whether the issue occurred due to insufficient connections available in postgres.
    1. To verify this, check the postgres log for the message 'sorry, too many clients open'.  For assistance in finding the postgres log, please see the following page:  CAST Management Studio - Information - How to find logs
    2. If this message is found, then see this page for assistance with re-mediating the issue:  RDBMS - CAST Storage Service - Error - Sorry too many clients
  2. Check that an anti-virus program is not active and possibly causing this error.  You can see some further information on this for a similar issue on this page:  Server Manager - Launching Server Manager
  3. Check that if you are upgrading and you have multiple local or central databases that you upgrade them all, otherwise you may see this issue. 
  4. Check that the installation is not corrupt and that the dll exists in the location specified in the log in the executing dll operation step.
  5. Check that other programs that may used by CAST are working properly.   You can specifically check your Java installation, your Oracle client (if you are using an Oracle database)
  6. Check to see if this is coming from a custom extension.  If so, custom extensions are not supported and you will need to check with the extension owner about the issue.  For supported extensions and technologies, please see this page:  CAST AIP Technologies Documentation
  7. Check to see if the CAST installation files have been modified from the default.
  8. Check to see that the extensions you are using are supported for the version of CAST you are using.  You can see more in the following documentation section:   CAST AIP Technologies Documentation
  9. If using a custom Postgres installation, make sure that the following steps have been followed in the documentation:  CAST Storage Service - PostgreSQL 9.6.x deployment on Linux
  10. Check that the user running the process has access to the CAST installation area and programs.
  11. If using Oracle, make sure that the user has the proper permissions for updating the CAST Oracle databases.
  12. If the information or the solution to the problem, is not in this page, contact CAST Technical Support. and provide the following Relevant input in order to reproduce the issue

 

Relevant Input

Notes/comments

Ticket # 19580

Related Pages