soscmnd error
Moderator: SourceGear
-
- Posts: 5
- Joined: Mon May 22, 2006 12:02 pm
soscmnd error
I am trying to use soscmd but am getting an error message. Here is my command and error message.
soscmd -soshome C:\Documents and Settings\user\Application Data\SourceGear\SOS -command GetFile -server server1:8081 -user user1 -password qwerty -database f:\vss\srcsafe.ini -project $/Host/Source -file test.txt -workdir C:\Test
Erros Message: Unable to open key file: C:\Doucments\server1.key
Thanks.
soscmd -soshome C:\Documents and Settings\user\Application Data\SourceGear\SOS -command GetFile -server server1:8081 -user user1 -password qwerty -database f:\vss\srcsafe.ini -project $/Host/Source -file test.txt -workdir C:\Test
Erros Message: Unable to open key file: C:\Doucments\server1.key
Thanks.
This error indicates you are connecting to the secure port (8081), but SOS cannot find the server key file.
The <Servername>.key file is created when you import a user key into your SOS Client so that you can connect securely to the SOS Server.
User keys are created in the SOS Server Manager. Did you get a user key (<username>.iky) from your SOS admin?
For details about encryption, see SOS Help->Server Manager->User Keys and in the Index->Import Encryption Key.
http://download.sourcegear.com/misc/sos ... efault.htm
The <Servername>.key file is created when you import a user key into your SOS Client so that you can connect securely to the SOS Server.
User keys are created in the SOS Server Manager. Did you get a user key (<username>.iky) from your SOS admin?
For details about encryption, see SOS Help->Server Manager->User Keys and in the Index->Import Encryption Key.
http://download.sourcegear.com/misc/sos ... efault.htm
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 5
- Joined: Mon May 22, 2006 12:02 pm
-
- Posts: 5
- Joined: Mon May 22, 2006 12:02 pm
Yes, I can connect using the SOS GUI Client, using the same server name and database as I used in the soscmd.
I was recently able to use the soscmd until I installed .NET 2003 on my computer. Does that affect soscmd in any way? I tried uninstalling .NET and reinstalling SOS but it still doesn't work.
I was recently able to use the soscmd until I installed .NET 2003 on my computer. Does that affect soscmd in any way? I tried uninstalling .NET and reinstalling SOS but it still doesn't work.
No, .NET shouldn't affect it. Did this exact command work before?
Is this the exact error message (except for the servername)?
Unable to open key file: C:\Doucments\server1.key
I would think it would be looking in C:\Documents and Settings\user\Application Data\SourceGear\SOS for the key file.
Is this the exact error message (except for the servername)?
Unable to open key file: C:\Doucments\server1.key
I would think it would be looking in C:\Documents and Settings\user\Application Data\SourceGear\SOS for the key file.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 5
- Joined: Mon May 22, 2006 12:02 pm