Diff two files in source offsite doesn't seem to work

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

Moderator: SourceGear

oliver.meyer@emilfrey.ch
Posts: 11
Joined: Fri Nov 16, 2007 7:58 am

Diff two files in source offsite doesn't seem to work

Post by oliver.meyer@emilfrey.ch » Fri Nov 16, 2007 8:10 am

When I try to diff to files in history view, sos kind of freeze. I must press the stop current operaton button. But I can almost never diff two files.

Sos gets the latest file and puts it in the working folder.
But the older version of this file is never fetched.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Fri Nov 16, 2007 9:45 am

What version of SOS are you using?

How far apart are the versions you are diffing?

What types of files?

oliver.meyer@emilfrey.ch
Posts: 11
Joined: Fri Nov 16, 2007 7:58 am

Post by oliver.meyer@emilfrey.ch » Fri Nov 16, 2007 5:26 pm

Version 4.2 (latest Version)
ASCII Files
I want to diff the latest version with the 2. latest version (so not very far)

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Nov 20, 2007 3:51 pm

Can you start up client-logging by opening a Vault client and pressing Ctrl-Alt-Shift-F12. Then try the diff again. When finished, first check your Vault server log at C:\Windows\temp\sgvault\sgvault.log for any errors. Then check your client log that is in C:\Documents and Settings\<user name>\Local Settings\Temp\VaultGUIClient.txt. Let me know if any errors occur.

oliver.meyer@emilfrey.ch
Posts: 11
Joined: Fri Nov 16, 2007 7:58 am

Post by oliver.meyer@emilfrey.ch » Mon Nov 26, 2007 2:57 pm

I'm using Source Offsite 4.2 and not Vault
I didn't find an log entrance (not on the Client nor on the Server)

oliver.meyer@emilfrey.ch
Posts: 11
Joined: Fri Nov 16, 2007 7:58 am

Post by oliver.meyer@emilfrey.ch » Mon Nov 26, 2007 3:12 pm

Started Log.txt on the server: Found this entry after trying to compare files

11/26/2007 10:02:55 PM - 1: Exception getting file. SourceSafe was unable to finish writing a file. Check your available disk space, and ask the administrator to analyze your SourceSafe database.

There is enough disk space (about 6 GB) . I also analyzed the VSS 'database' => No errors or inconsistencies found. But it didn't help. I still cannot compare files.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Mon Nov 26, 2007 3:27 pm

Sorry about that. Getting forums confused.

The SOS log is called log.txt and is found on the SOS server in the program files directory.

Are you able to perform a Get of that old file to disk? This would tell me if there's something wrong with the file or not.

Are you the one who installed SOS on that machine? Are you using the same login on that Windows machine as you did for installing? These answers will tell me where it's trying to put the file to diff and if you have access. By default it will place it in C:\Documents and Settings\<user name>\local settings\temp.

oliver.meyer@emilfrey.ch
Posts: 11
Joined: Fri Nov 16, 2007 7:58 am

Post by oliver.meyer@emilfrey.ch » Mon Nov 26, 2007 3:42 pm

Are you able to perform a Get of that old file to disk?
No I am not! Same problem. But I have this problem with every file.
I can only get the latest version of every file.

Are you the one who installed SOS on that machine?
Yes, it was me... and I still using the same XP-User account.

oliver.meyer@emilfrey.ch
Posts: 11
Joined: Fri Nov 16, 2007 7:58 am

Post by oliver.meyer@emilfrey.ch » Mon Nov 26, 2007 3:47 pm

...sorry I have to correct myself a bit.

I can compare certain files! But not every file. All the files are ascii files, though.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Mon Nov 26, 2007 5:59 pm

Do you have access to your SOS server log? SourceOffSite log file (log.txt) is located on the machine where the SOS server resides in this path C:\Program Files\SourceOffSite Server.

Try a Get on one of the problem files from History and then immediate check that log for errors. What does it have for errors?

oliver.meyer@emilfrey.ch
Posts: 11
Joined: Fri Nov 16, 2007 7:58 am

Post by oliver.meyer@emilfrey.ch » Mon Nov 26, 2007 6:21 pm

I get the same error when I wanna get an older file:

11/27/2007 1:20:07 AM - 11: Exception getting file. SourceSafe was unable to finish writing a file. Check your available disk space, and ask the administrator to analyze your SourceSafe database.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Mon Nov 26, 2007 6:44 pm

What do you have for disk space on both your client and server?
When was the last analyze ran?
Can anyone perform the same Get with VSS?

oliver.meyer@emilfrey.ch
Posts: 11
Joined: Fri Nov 16, 2007 7:58 am

Post by oliver.meyer@emilfrey.ch » Wed Nov 28, 2007 9:52 am

I have enough space on the server and the client.
Analyze runs every night. (Without any problems)
I can get the files with VSS.

Could it be, that the problem has to do with, when the file has many history entries?.
I mean, on this particularly file I have more than 110 history entries.

I tried to compare other files, which have only about 20 history entries and there it worked perfectly.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Nov 28, 2007 10:50 am

What version of VSS are you using?

oliver.meyer@emilfrey.ch
Posts: 11
Joined: Fri Nov 16, 2007 7:58 am

Post by oliver.meyer@emilfrey.ch » Wed Nov 28, 2007 12:46 pm

VSS 6.0d (Build 31222)

Post Reply