soscmd error using CheckOutFile

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
gotdablues
Posts: 15
Joined: Thu Nov 03, 2005 8:51 pm

soscmd error using CheckOutFile

Post by gotdablues » Fri Nov 04, 2005 2:26 pm

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

Tonya
Posts: 914
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Post by Tonya » Fri Nov 04, 2005 3:47 pm

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

Post Reply