Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-02-2004, 07:20 AM
mvermeulen mvermeulen is online now
Registered User
 
Join Date: 07-15-2003
Posts: 56
Send a message via Yahoo to mvermeulen
Question 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!
Reply With Quote
  #2  
Old 07-02-2004, 07:39 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 02:39 PM.


Copyright © 1999-2023 Kinook Software, Inc.