Frequently Asked Question

Error "Access violation at address..." during N4V upgrade
Dernière mise à jour il y a un an

Symptom

  • During the installation of a Need4Viz patch (over a previous Need4Viz installation), the following Windows message (or similar) is displayed :
image

Reason and Prerequisites

Environment:

  • SAP BusinessObjects Business Intelligence Platform all version
  • Need4Viz : 2024.2.0+ - Full version already installed

Steps To Reproduce:

  1. Install a full version of Need4Viz on a Windows server
  2. configure and start the Need4Viz services
  3. Install a patch or a hotfix of Need4Viz on the same server
  4. The error message is displayed

Cause:

  • Since 2024.2.0 version, the upgrade setup automatically clean the working folder (Need4Viz\nodejs\node_modules\custom_element\ce_works) of N4V before installing the new version files. Depending of the usage of this workdir (the folder can be really huge if you make regularly an important number of N4V HTML exports), this cleaning operation can take too much time an the installer may generate the mentionned error.

Solution

When this behavior happend, stop the installer (click "OK" button and quit the installer) and realize all the following steps (in the mentioned order) :

  1. Rename the folder Need4Viz\nodejs\node_modules\custom_element\ce_works to Need4Viz\nodejs\node_modules\custom_element\ce_works_old
  2. Create a new folder Need4Viz\nodejs\node_modules\custom_element\ce_works
  3. Open a CMD window and 
    1. Goto the Need4Viz\nodejs\node_modules\custom_element folder
    2. Run the command "rmdir ce_works_old /S /Q"
    3. this step can take quite a long time. You can goto step 4 during this time (do not close the CMD window to let the step finish)  
  4. Run the N4V upgrade setup

Veuillez patienter!

S'il vous plaît patienter... il faudra une seconde !