Unknown publish error when publishing with a different Windows user "Message: Return Code 2"
search cancel

Unknown publish error when publishing with a different Windows user "Message: Return Code 2"

book

Article ID: 16411

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction



I am on a Windows server that has two local accounts. I am able to publish from one account, but if I perform the same operation with the second account, the job always fails with the message "Message: Return Code 2".

Is there a way to resolve this issue?

Environment

Datamaker - all versions

Resolution

The issue is an underlying library problem with Datamaker and working with multiple domain accounts on a single box.  If you are going to use more than one user to run the Datamaker application on the same machine, the suggestion would be to use a common shared folder for publishing vs using the default %AppData% folder.

To change the publish folder, create a common folder on the Windows server with a location that all logged users can access for reading and writing.

Once you have the folder in place, open Datamaker and in the menu, select Settings|Project Settings and you will be presented with the dialog box below.

<Please see attached file for image>

src="/servlet/servlet.FileDownload?file=0150c000004AKbTAAW" alt="screenshot_400.png" width="625" height="535">

 

In the Output Root Directory,  change the value from %APPDATA% to your new publish folder.  

Once this is changed, the project will only publish to the new folder, regardless of the logged in Windows user.

Attachments

1558717321575000016411_sktwi1f5rjvs16uj2.png get_app