I am trying to CheckOut a file using soscmd. Unfortunately, I am receiving an error.
Here is the command I am issuing:
soscmd -command CheckOutFile -server MyServer -name MyName -password MyPassword -database D:\MyCompanyshare\VSS\srcsafe.ini -project "$/practice project/WindowsApplication1" -file AssemblyInfo.cs
When this command is run, I get "soscmd.exe has encountered a problem and needs to be closed.".
If I open the GUI client version, I am able to check out the file successfully. Note: When I run the command line version, the GUI is closed.
Here a copy of the log.txt file from the server.
11/4/2005 3:13:36 PM - 2: Open the database.
11/4/2005 3:13:36 PM - 2: 'MyName' connected to database D:\MyCompanyshare\VSS\srcsafe.ini
11/4/2005 3:13:36 PM - 2: Received message number 105.
11/4/2005 3:13:36 PM - 2: GetFile() file=AssemblyInfo.cs
11/4/2005 3:13:36 PM - 2: Getting version information: $/practice project/WindowsApplication1/AssemblyInfo.cs
11/4/2005 3:13:39 PM - 2: Exception: An existing connection was forcibly closed by the remote host
11/4/2005 3:13:39 PM - 2: Error processing client request: at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 size, SocketFlags socketFlags)
at ClassicService.ProtocolMessage.ParseStream(Socket socket, Crypto crypto)
at ClassicService.Client.GetMessage()
11/4/2005 3:13:39 PM - 2: User MyName disconnected from MyName.MyCompany.
My client version is "Client 4.1.2".
Any thoughts?
Steve
soscmd error using CheckOutFile
Moderator: SourceGear
Are you able to perform the CheckOut option successfully for other files?
It's possible that your network may be timing out your connection which is causing the problem you are having with the SOS command line client. What type of a firewall or proxy are you passing through to get to the server?
Tonya Nunn
SourceGear Support
It's possible that your network may be timing out your connection which is causing the problem you are having with the SOS command line client. What type of a firewall or proxy are you passing through to get to the server?
Tonya Nunn
SourceGear Support