|
#1
|
|||
|
|||
Access Denied - Remote Project
How do you determine or specify the account used by VisBuildCmd when launched remotely from another server?
I used the server.bld example to launch a bld file on a remote server. The build runs successful on every step except when it tries to copy files from a third server. At that point I get an access denied message. Thanks much and cheers! |
#2
|
|||
|
|||
If not specified, Windows will use the currently logged in user on the local box to determine permissions.
When using the first method in the sample (psExec), the -u and -p switches specify the username/password to use: http://www.sysinternals.com/ntw2k/freeware/psexec.shtml When using the second method (vbld_RemoteExecuteCmd), it's the 3rd and 4th parameters (from the 'system macros' help topic): vbld_RemoteExecuteCmd(strServer, strCommand, strUserName, strPassword): Execute a command on a remote computer and return the exitcode |
|
|