I have a Windows 2000 bat file calling for an ant target that is accessing VSS database on a network computer. If I run the script from my desktop it works fine, but if it's invoked by MS Windows Scheduled Task it fails to access the VSS database with the following error:
labelCommon:
[vsslabel] No VSS database (srcsafe.ini) found. Use the SSDIR environment variable or run netsetup.
BUILD FAILED
file:ant/common.inc.xml:49: Failed executing: "C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" Label $/DataCenter/common/ -C- -I-Y -L20040125 -Y...
When scheduling the job I use the same id/password that I use to login into my computer and into the remote VSS database. Also, the target that send files via FTP to other network computers work fine if scheduled.
Can anybody help me?
Thanks
labelCommon:
[vsslabel] No VSS database (srcsafe.ini) found. Use the SSDIR environment variable or run netsetup.
BUILD FAILED
file:ant/common.inc.xml:49: Failed executing: "C:\Program Files\Microsoft Visual Studio\VSS\win32\ss" Label $/DataCenter/common/ -C- -I-Y -L20040125 -Y...
When scheduling the job I use the same id/password that I use to login into my computer and into the remote VSS database. Also, the target that send files via FTP to other network computers work fine if scheduled.
Can anybody help me?
Thanks