Depends on how vss is setup.  If the process will run in the context of a user that has permissions, no password is required.  If the user is added to vss with no password, and correct acl's are set to the vss share, no password would be required to get to vss.  We do have the password element being passed with a "" value, so you may want to try that, though I would expect a different error then user cannot be found.
 
Aaron


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Noel Gifford
Sent: Tuesday, June 08, 2004 10:03 PM
To: 'Ding, Patty Q.'; [EMAIL PROTECTED]
Subject: RE: [Nant-users] Need help for getting source file from VSS

From looking at it, I’d say that you need the ‘password=’ attribute

 

Noel

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Ding, Patty Q.
Sent: Tuesday, June 08, 2004 6:32 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Need help for getting source file from VSS

 

 

Hi, All

 below are my codes to get source file from VSS

 

               <?xml version = "1.0"?>

                   <project name="virtal print center" default="get" basedir="D:\vpc">

                        <property name="nant.settings.currentframework" value="net-1.1" />

                        <description>The virtual print center of Mimeo</description>

                                    <target name= "get">

                                                 <vssget

                                                user="pding"

                                                localpath="D:\VPC\Components\SYSTEMS"

                                                recursive="true"

                                                replace="true"

                                                writable="true"

                                                dbpath="C:\Program Files\Microsoft Visual Studio\VSS\srcsafe.ini"

                                                 path="$/Components/Systems"

                                                 />

                                    </target>

       </project>

 

Here are build result I got

 

Total time: 0 seconds.

 

 

C:\Nant>nant -buildfile:test.build

NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net

 

Buildfile: file:///C:/Nant/test.build

Target(s) specified: get

 

get:

 

 

BUILD FAILED

 

C:\Nant\test.build(6,8):

Failed to open database

 User "pding" not found

 

Total time: 0 seconds.

 

I double checked the username, which is correct, but I still got this error. What could be wrong in this case?

 

 

 

 

Patty

Mimeo

Qulity Assurance

460 Park Avenue South, 8th Floor

New York, NY 10016-7315

[EMAIL PROTECTED]

212.847.3687 T

212.684.6460 F

917.232.2705 C

24/7 Customer Care: 1.800.Go.MIMEO

 

www.mimeo.com

Your Online Print Center

 

"Confidentiality Notice: If you have received this e-mail in error, please immediately notify the sender by e-mail at the address shown. This e-mail transmission may contain confidential information. The information is intended only for the use of the individual(s) or entity to whom it is addressed. Any disclosure, distribution, copying or use of the information by others is strictly prohibited. Please delete it from your files if you are not the intended recipient. Thank you for your compliance."

Reply via email to