Get project by label does not work

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

Moderator: SourceGear

Post Reply
guillaume
Posts: 16
Joined: Mon Oct 04, 2004 4:26 pm

Get project by label does not work

Post by guillaume » Mon Oct 04, 2004 5:18 pm

Hi,
When I try to get projects by labels, I get nothing.
I'm using SourceOffsite client 4.0.2 (no cryptography) on server 4.0.2
I just read a topic on "Support (Collab)" posted by Netshark that describes exactly what I get with SourceOffsite:

- I select a project with only 1 file in it
- I right click and get contextual menu
- I select label...
- I enter a label and OK
then, from the same selected project
- I right click and get contextual menu
- I select Show history
- I check or not any of the available checkboxes (it should not matter)
- I select the label I just added
- I press "get"
- I check "recursive" in the box "get project by label" and OK
then nothing happens at all.


- my project has a valid working dir
- whether the working dir already exists or not on my disk does not matter
- I tried with clients on different machines; I even tried to install the client as administrator on the same machine as the server
- when trying to get other projects, it may happen I also receive and "Invalid file version" in the status window (="Exception getting file. Version not found" in the log file), but nothing more
- any other operation work perfectly well, even recursively (get latest version,...)
- I run Analyze with -f, then with -c and even then with -d, but no corruption was detected.
- everything works fine with SourceSafe

I attached the log file I got when attempting to get a project by label with the client on the same machine as the server, logged as administrator.

Any solution found on Netshark's problem with Collab, that could solve mine ?

Thank you for your help

Guillaume
Attachments
log.txt
(1.62 KiB) Downloaded 777 times

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Oct 07, 2004 2:57 pm

I haven't been able to replicate this. What version of VSS is installed on the SOS Server machine?

http://support.sourcegear.com/viewtopic.php?t=1510
Linda Bauer
SourceGear
Technical Support Manager

plevien

Same issue here

Post by plevien » Fri Oct 29, 2004 8:09 am

Could it be Netware-related? WE have Novell Client 4.90. I know there are some VSS issues with Novell. What are you running?

DRG

Unable to Get Project by Label

Post by DRG » Tue Nov 09, 2004 5:37 am

We are also experiencing this problem.

We have two sourcesafe databases - the first works correctly and can 'get' any labelled project version.

The second does not work - no files are downloaded and the message 'Invalid File Version' appears.

SSOS 4.0.2 (server/client)
VSS 6.0

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Nov 09, 2004 2:34 pm

First, verify you can get the label with a VSS client. If VSS can't get it, SOS won't be able to, either.

"Invalid file version" means that the VSS Automation component, which SOS uses to communicate with the database, is having a problem getting the proper version of the file.

Some get by label problems are due to database corruption. See this KB article for a possible solution:

http://support.sourcegear.com/viewtopic.php?t=50
Linda Bauer
SourceGear
Technical Support Manager

Guest

Post by Guest » Thu Nov 11, 2004 6:40 am

Thanks for the suggesions...

1. Can confirm - no problem getting labelled version using the VSS client.

2. Have 'analyzed' the database - no errors are reported.

3. Version of ssapi.dll - 6.0.81.69

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Nov 18, 2004 11:48 am

We've had previous reports of this error message with older versions of Visual SourceSafe (like 6.0.81.69 ) installed on the SOS Server machine.

The problem appears to be a bug in that version of the VSS automation component. Microsoft fixed it in a later release of 6.0.

In our testing, the problem went away when users had VSS 6.0d installed on the SOS Server machine.

VSS 6.0d works better with labels, but has a different bug, one that can be remedied with a registry fix:
http://support.sourcegear.com/viewtopic.php?t=10

If you install VSS 6.0d, be sure to make the registry change.

You could also try VSS 6.0c/Hotfix. We haven't tested this specific label problem with this version, but it has proven to be a very stable VSS version to use with SourceOffSite. You can download it from:

http://download.sourcegear.com/files/vss_60c_hotfix.zip
Linda Bauer
SourceGear
Technical Support Manager

Cosmin

1: Exception getting file. Version not found

Post by Cosmin » Thu Apr 07, 2005 4:11 am

We are running VSS 6.0d. and SOS 4.1 on both clients and servers.

The VSS branch was analyzed and it looks fine.

VSS database size is around 1GB

When I try to get an older version of the file or when running DIFF tool from SOS on 99% of the files SOS Client doesn't do anything, and in the log file I can see "Exception getting file. Version not found "
With VSS client there is no problem performing these operations.

If i add a new file and modify it, from SOS I can see the diffrences with no problems.

Can you give me a hint on how we could solve this issue?


Thank You

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Apr 07, 2005 7:24 am

How are you doing the Get? Through the GUI client, Command Line Client or IDE?

Does this happen on all files or just certain files? (Is it just in the branch you mentioned).
Linda Bauer
SourceGear
Technical Support Manager

Post Reply