The following error occurs when you try to preview a DCR.
Template Preview And Generate Error:
The following error occured while creating file
/.iwmnt/default/main/InternetMarketing/SystemsIntegrator/WORKAREA/Common/zz_tst_sun_lock:
No such file or directory
The templated file was not generated.
Though you the user is part of the group that owns that directory, you might repeatedly and randomly get this error. Resolution to this, navigate to the preview-dir specified in your templating.cfg and delete all .nsf* files that reside on that location. Also make sure to delete zz_tst_username_*_manifest file located under /templatedata directory.
I have been going nuts on this issue. Hope it helps.
Pradeep