'CDownloadFile', Error:AHD04012:Security id () not found or has expired

Document ID : KB000029443
Last Modified Date : 14/02/2018
Show Technical Document Details


When trying to upload certain attachments in ServiceDesk; ServiceDesk rejects it and we see the following error in ServiceDesk logs:

01/16 08:11:20.59 CASD-SDM12  rep_daemon           5164 ERROR        DomWrap.c              896 Failed to complete reply method: 'MTH::validate_bopsid_done' ,BOP Name:'Attachment id:xxxx' in class:'CDownloadFile', Error:AHD04012:Security id () not found or has expired




This is due to a file extension that is not included for file attachments, for example *.docx. In ServiceDesk SD 12.7 the latest cumulative patches resolve it, however; the following post steps needs to be applied after applying the patch(if you see it in ServiceDesk 12.9+ please apply these post steps as well it as well):


a. Make a copy of the web.xml file from $NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF to a local directory for backup purposes. 

b. Edit the web.xml file from $NX_ROOT\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF.

c. Find the following line under the 'save_as_dialog_ext' parameter settings:

d. Add the docx extension(or any other extension you wish to have) to the list of values:


e. Save the web.xml file and restart tomcat.

    Note: To avoid losing the change when running pdm_configure, you should make the same change to the web.xml.tpl file.