AHD04756 can not open wsp_schema.log for output at pdm_publish

Document ID : KB000106222
Last Modified Date : 18/07/2018
Show Technical Document Details
After customize some fields in WSP and try to run pdm_publish the following error appear:

 E:\>pdm_publish Pdm_publish:
Verifying Server CA Service Desk Manager is not running...
AHD04756: can't open wsp_schema.log for output at .pdm_publish.pl line 594
pdm_publish execution failed
SDM 14.1.X
SDM 17.1.X
This issue occurs because the command to run the publication needs administrator rights.
1. Open command prompt by right clicking on command prompt icon and select 'Run as administrator'.
2. Run pdm_publish
Additional Information:
Doc Title: "Web Screen Painter schema modification - How it works and what to check if it goes wrong."
Document ID : KB000025524