Soscmd 3.5 ErrorCode 420 FailedDatabaseOpen
Moderator: SourceGear
-
- Posts: 18
- Joined: Wed Jul 07, 2004 10:52 am
Soscmd 3.5 ErrorCode 420 FailedDatabaseOpen
Running SourceOffSite Version 3.5.3 I am trying to get latest using soscmd.
I am using the following command:
soscmd -command GetFileList -server faicmfile01:8888 -name dkrekel -password dwk -database C:\PROGRA~1\MICROS~4\VSS\srcsafe.ini -project $/d900/packages/acp/src
The source safe server has 3 separate databases. I am trying to attach to the "V9 SourceCode".
How do I account for the "V9 SourceCode" on the soscmd call?
Thanks Dave K
I am using the following command:
soscmd -command GetFileList -server faicmfile01:8888 -name dkrekel -password dwk -database C:\PROGRA~1\MICROS~4\VSS\srcsafe.ini -project $/d900/packages/acp/src
The source safe server has 3 separate databases. I am trying to attach to the "V9 SourceCode".
How do I account for the "V9 SourceCode" on the soscmd call?
Thanks Dave K
You don't need to use the database alias for soscmd, in fact it doesn't work to use an alias in SOS 3.5.3. You should be able to just use the path to the appropriate database. If you're unsure of the paths, do the GetDatabases command to list all databases accessible by the SOS Server.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 18
- Joined: Wed Jul 07, 2004 10:52 am
Question on GetDatabases results
C:\D900\Utl>soscmd -command GetDatabases -server faicmfile01:8888
D:\Data\VSS Archives\cm_vss\srcsafe.ini
D:\Data\VSS Archives\V8_VSS\srcsafe.ini
D:\Data\VSS Archives\DOCS_VSS\srcsafe.ini
D:\Data\VSS Archives\ABS_VSS\srcsafe.ini
Why did the results point to my CD Drive?
D:\Data\VSS Archives\cm_vss\srcsafe.ini
D:\Data\VSS Archives\V8_VSS\srcsafe.ini
D:\Data\VSS Archives\DOCS_VSS\srcsafe.ini
D:\Data\VSS Archives\ABS_VSS\srcsafe.ini
Why did the results point to my CD Drive?
-
- Posts: 18
- Joined: Wed Jul 07, 2004 10:52 am
Figured it out
The database is on the D drive of the server. I will have to map it ot make it work.
Thanks
Thanks
-
- Posts: 18
- Joined: Wed Jul 07, 2004 10:52 am
Get Latest and renegade members
When I get latest w/i SOS. I always get a loose changes errors on some shared members, even though I have not changed them. I always click "Yes for All" on the first on and get latest proceeds.
How will this be handled when using soscmd.exe?
Thanks Dave K
How will this be handled when using soscmd.exe?
Thanks Dave K
-
- Posts: 18
- Joined: Wed Jul 07, 2004 10:52 am
Latest error
C:\D900\Utl>soscmd -command GetProject -server server:8888 -name xxxxx -password pwd -database P:\srcsafe.ini
-project /d900/packages/acp/src -recursive -soshome "C:\Program Files\SourceOffSite"
Unexpected server message after login. Expected a 300 Success, but got a 420 (FailedDatabaseOpen)
Server Message Body = .
I am using the GUI client and trying to get latest on a project through an unattended scheduler.
I have a bat file with the following command and I still get the following error. Is there something I am missing?
Thanks for your help. Dave K
-project /d900/packages/acp/src -recursive -soshome "C:\Program Files\SourceOffSite"
Unexpected server message after login. Expected a 300 Success, but got a 420 (FailedDatabaseOpen)
Server Message Body = .
I am using the GUI client and trying to get latest on a project through an unattended scheduler.
I have a bat file with the following command and I still get the following error. Is there something I am missing?
Thanks for your help. Dave K
Sorry, I should have mentioned not to put your username and password on a public forum. I've edited it.
You're using P:\srcsafe.ini for the database path, yet your GetDatabases returned
D:\Data\VSS Archives\cm_vss\srcsafe.ini
D:\Data\VSS Archives\V8_VSS\srcsafe.ini
D:\Data\VSS Archives\DOCS_VSS\srcsafe.ini
D:\Data\VSS Archives\ABS_VSS\srcsafe.ini
Is P a mapped drive? For SOS to work, you need to use the paths the SOS Server recognizes to be valid. I don't know why your databases are on the D:\ drive. Check to see what's configured in the databases tab of the SOS Server manager.
You're using P:\srcsafe.ini for the database path, yet your GetDatabases returned
D:\Data\VSS Archives\cm_vss\srcsafe.ini
D:\Data\VSS Archives\V8_VSS\srcsafe.ini
D:\Data\VSS Archives\DOCS_VSS\srcsafe.ini
D:\Data\VSS Archives\ABS_VSS\srcsafe.ini
Is P a mapped drive? For SOS to work, you need to use the paths the SOS Server recognizes to be valid. I don't know why your databases are on the D:\ drive. Check to see what's configured in the databases tab of the SOS Server manager.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 18
- Joined: Wed Jul 07, 2004 10:52 am
Hi Linda,
I have mapped "P:" to the following server location.
D:\Data\VSS Archives\ABS_VSS\
The get databases returns the "D" drive because the databases are on the "D" drive on the server.
I do not usually have a password on my login, but I added one to see if I could make this work.
Could this be a premission problem?
Thanks Dave k
I have mapped "P:" to the following server location.
D:\Data\VSS Archives\ABS_VSS\
The get databases returns the "D" drive because the databases are on the "D" drive on the server.
I do not usually have a password on my login, but I added one to see if I could make this work.
Could this be a premission problem?
Thanks Dave k
-
- Posts: 18
- Joined: Wed Jul 07, 2004 10:52 am
The source safe database resides on a server in Georgia. When I run the following command. soscmd -command GetDatabases -server server:8888
One of the items returned is D:\Data\VSS Archives\ABS_VSS\srcsafe.ini
I mapped a P:, on my client to in Kansas to the network drive in Gerogia.
P:=\\server\Data\VSS Archives\ABS_VSS\
I am trying to use the "GetProject" command to update my client in unattended mode via a scheduler. Since the getting latest inside the SOS GUI client can take over 60 minutes sometimes.
When I run the following command.
soscmd -command GetProject -server server:8888 -name name
-password psw -database P:\srcsafe.ini -project $/d900/packages/acp/src -recursive -soshome "C:\Program Files\SourceOffSite"
I get the following error.
Unexpected server message after login. Expected a 300 Success, but got a 420 (FailedDatabaseOpen)
When I run the the following command.
soscmd -command GetProject -server faicmfile01:8888 -name dkrekel -password dwk -database D:\Data\VSS Archives\ABS_VSS\srcsafe.ini -project $/d900/packages/acp/src -recursive -soshome "C:\Program Files\SourceOffSite"
I get an application error.
The instruction at "0x77fcc39e" referenced memory at "0x666d6369". The memory could not be written.
Is this possible with Sourceoffsite classic version 3.5.3?
Additional Info. I am trying to get a small part of the project. Would the memory error be caused by a their are no subdirectories under the "src" directory with a recursive parameter?
Thanks Dave K
One of the items returned is D:\Data\VSS Archives\ABS_VSS\srcsafe.ini
I mapped a P:, on my client to in Kansas to the network drive in Gerogia.
P:=\\server\Data\VSS Archives\ABS_VSS\
I am trying to use the "GetProject" command to update my client in unattended mode via a scheduler. Since the getting latest inside the SOS GUI client can take over 60 minutes sometimes.
When I run the following command.
soscmd -command GetProject -server server:8888 -name name
-password psw -database P:\srcsafe.ini -project $/d900/packages/acp/src -recursive -soshome "C:\Program Files\SourceOffSite"
I get the following error.
Unexpected server message after login. Expected a 300 Success, but got a 420 (FailedDatabaseOpen)
When I run the the following command.
soscmd -command GetProject -server faicmfile01:8888 -name dkrekel -password dwk -database D:\Data\VSS Archives\ABS_VSS\srcsafe.ini -project $/d900/packages/acp/src -recursive -soshome "C:\Program Files\SourceOffSite"
I get an application error.
The instruction at "0x77fcc39e" referenced memory at "0x666d6369". The memory could not be written.
Is this possible with Sourceoffsite classic version 3.5.3?
Additional Info. I am trying to get a small part of the project. Would the memory error be caused by a their are no subdirectories under the "src" directory with a recursive parameter?
Thanks Dave K
-
- Posts: 18
- Joined: Wed Jul 07, 2004 10:52 am
results of verbrose
C:\D900\Utl>soscmd -command GetProject
-server ssss:8888 -name nnnn -password ppp
-database D:\Data\VSSArchives\ABS_VSS\srcsafe.ini
-project $/d900/packages/acp/src
-soshome "C:\Program Files\SourceOffSite" -verbose
SourceOffSite Command Line Client: 128 bit Encryption version 3.5
Connected to server faicmfile01 at port 8888.
Received Challenge from server
Unexpected server message after login. Expected a 300 Success, but got a 420 (FailedDatabaseOpen)
Server Message Body = .
Closed connection to server faicmfile01 at port 8888.
Does this help?
-server ssss:8888 -name nnnn -password ppp
-database D:\Data\VSSArchives\ABS_VSS\srcsafe.ini
-project $/d900/packages/acp/src
-soshome "C:\Program Files\SourceOffSite" -verbose
SourceOffSite Command Line Client: 128 bit Encryption version 3.5
Connected to server faicmfile01 at port 8888.
Received Challenge from server
Unexpected server message after login. Expected a 300 Success, but got a 420 (FailedDatabaseOpen)
Server Message Body = .
Closed connection to server faicmfile01 at port 8888.
Does this help?
I'm afraid that there's not much to go on there, except it's pointing the finger squarely at a prolem on the server side. We'd need to see the server log, preferably in verbose mode, to make a better guess.
Please send (or have a colleague on the server side) send the log file to support@sourcegear.com and we'll have a look.
Please send (or have a colleague on the server side) send the log file to support@sourcegear.com and we'll have a look.
-
- Posts: 18
- Joined: Wed Jul 07, 2004 10:52 am
Connection works, Ignores working directory
I have my bat file in c:\d900\util to run the get latest. It now connects and runs but the working directory set up in the gui client is ignored. How do I set up the working directory in the soscmd client command?
Current instruction is.
soscmd -command GetProject -server faicmfilexx:8888 -name aaa
-password ppp -database \\faicmfilexx\ABS_VSS\srcsafe.ini
-project $/d900/packages/acp/src
-soshome "C:\Program Files\SourceOffSite" -verbose -recursive
It brings the members down to the directory containing the bat file. Any Ideas on how to redirect the output? Currently I am at the deepest level as far as directory structure goes. However, I would like to be able to pull the entire d900 project.
Thanks Dave K
Current instruction is.
soscmd -command GetProject -server faicmfilexx:8888 -name aaa
-password ppp -database \\faicmfilexx\ABS_VSS\srcsafe.ini
-project $/d900/packages/acp/src
-soshome "C:\Program Files\SourceOffSite" -verbose -recursive
It brings the members down to the directory containing the bat file. Any Ideas on how to redirect the output? Currently I am at the deepest level as far as directory structure goes. However, I would like to be able to pull the entire d900 project.
Thanks Dave K
-
- Posts: 18
- Joined: Wed Jul 07, 2004 10:52 am