The leading provider of version control solution and TWAIN SDK
The leading provider of version control solution and TWAIN SDK

Dynamsoft Forums

Support for Version Control, Bug Tracking and Configuration Management Software
* Login   * Register
* FAQ    * Search

It is currently Wed May 16, 2012 6:51 pm




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Error when checking out file
PostPosted: Fri Apr 04, 2008 11:59 am 
Offline

Joined: Tue Nov 14, 2006 7:29 am
Posts: 11
I am getting the following error when I try to check a file out in Visual Studio 2005 with SAW for VSS 5.1 over a VPN connection.
"An error or user cancellation occurred during checkout. Some files may not have been checked out. (File was not checked out.)"

I encounter this problem on only one solution, but with every file in that solution, on other solutions I am able to check things out just fine.
I have worked with this solution for quite a while without problems.
I tried to do a checkout using the SAW Client on my machine and that did not work either, incidentally, I do not get an error there. It just doesn't check out the file.
I ran "C:\Program Files\Microsoft Visual SourceSafe\analyze.exe" -F -V3 -D "C:\sourcesafedb\data" on the Source Safe server, it reported that it fixed a few issues but did solve this problem.
I remoted into the SourceSafe Server machine and with the sourcesafe client was able to check out a file from the solution in question on that local machine.
I contacted a co-worker who is using VSS in the office and she is not having any trouble checking out files in that solution.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 07, 2008 4:11 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
This error is returned by Visual Studio. It seems to have something to do with the VSS database. Could you please double check its integrity and post the analyze result here?

Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Analyse
PostPosted: Tue Apr 15, 2008 12:31 pm 
Offline

Joined: Tue Nov 14, 2006 7:29 am
Posts: 11
Catherine,

I realize the error is coming from Visual Studio. That is why I tried a check out directly from within the SAW CLIENT software. As I mentioned in my post the SAW CLIENT is not able to check out a member of the project either. The problem there is that the SAW Client doesn't even bother to give me any kind of response at all, the member just remains UN-checked out. As I said in my post I ran and analyse to fix the sourcesafe db, "C:\Program Files\Microsoft Visual SourceSafe\analyze.exe" -F -V3 -D "C:\sourcesafedb\data", and that did not resolve the issue.

Here is the result of a new Analyse on the VSS Server.

Visual SourceSafe Analyze Version 8.0
Copyright (C) Microsoft Corporation. All rights reserved.

Database analysis in progress @ 4/15/08; 1:13p.
There is a diff chain size mismatch in file 'Web.config' (dguaaaaa) at version 6 (versions earlier than that version can no longer be retrieved from the database).
There is a diff chain size mismatch in file 'MapDescriptors.vbproj' (iksaaaaa) at version 5 (versions earlier than that version can no longer be retrieved from the database).
There is a diff chain size mismatch in file 'Web.config' (jvhaaaaa) at version 6 (versions earlier than that version can no longer be retrieved from the database).
There is a diff chain size mismatch in file 'Web.config' (kambaaaa) at version 6 (versions earlier than that version can no longer be retrieved from the database).
There is a diff chain size mismatch in file 'web.config' (ldsaaaaa) at version 31 (versions earlier than that version can no longer be retrieved from the database).
There is a diff chain size mismatch in file 'web.config' (nemaaaaa) at version 31 (versions earlier than that version can no longer be retrieved from the database).
There is a diff chain size mismatch in file 'MapDescriptors.vbproj' (pekbaaaa) at version 5 (versions earlier than that version can no longer be retrieved from the database).
There is a diff chain size mismatch in file 'web.config' (swjbaaaa) at version 31 (versions earlier than that version can no longer be retrieved from the database).
There is a diff chain size mismatch in file 'MapDescriptors.vbproj' (zemaaaaa) at version 5 (versions earlier than that version can no longer be retrieved from the database).
Analysis complete @ 4/15/08; 1:16p
Some errors were found: run ANALYZE -F to fix these problems.

To fix the database problems, you can restart the analyze using the following command:
"C:\Program Files\Microsoft Visual SourceSafe\analyze.exe" -F -V3 -D "C:\sourcesafedb\data"


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 16, 2008 8:00 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
Do you use VSS 8.0 on the SourceAnywhere for VSS Server machine? If not, please do the upgrade first.

If you are using VSS 8.0 on the SourceAnywhere for VSS server machine, that means the database is still corrupted even after you fixed it.

To solve the problem, please:
1. Move the the problematic files to other project first (for backup purpose).

2. Get the problematic files to local disk (through VSS)

3. Delete the problematic files from the VSS database

4. Add the files from local disk to the VSS database.

Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 25, 2008 1:41 pm 
Offline

Joined: Tue Nov 14, 2006 7:29 am
Posts: 11
Hi Catherine,

It has been a while since we had this discussion but things have been hectic. I am still having problems and I have concerns about your suggestion. If I delete the problematic files from the VSS Database and then add them to the VSS will I not lose all of the history on those files? Besides, it way too many files, it's a very large solution with numerous projects and hundreds of files most of which I have a problem with. Losing the history on all those files is not really an option. The history is very important in terms of knowing who has done what or when. Also I am not so sure this is a problem with the VSS Database. I have some additional information after a bit of research.

1) I cannot do a get latest version, it simply does not work. I finally tried one through the SAW Client and I get this error in the pane at the bottom of the app. "Getting $/CCI/NetCobol/HotelSystem/XMLSchemas/qccsys73.xml ... : An item with the name $/CCI/NetCobol/HotelSystem/XMLSchemas already exists". Of course it already exists, I'm doing a get latest version, how could one get something that doesn't already exist?

2) What I discovered is that if I delete the file from my Local machine I am able to checkout the file and it brings in the latest version as part of the checkout. Unfortunately when I try to check the file in I get that same error. "Checking in $/CCI/NetCobol/HotelSystem/XMLSchemas/payroll.xml ...: An item with the name $/CCI/NetCobol/HotelSystem/XMLSchemas already exists".

3) Once I have the file checked out I am in fact able to Undo Check Out. "Undoing check out $/CCI/NetCobol/HotelSystem/XMLSchemas/payroll.xml...: Completed" I just cannot do a Check In.

4) As part of my research I decided to go poke around in the SAW Server. I discovered the logging feature and turned it on for Check In, Check Out, Get, Undo Check Out. The log only contains an entry the Undo Checkout that worked. The actions that are failing, Check Out, Check In, Get Latest do not show up in the log on the server. Does this indicate that the problem is on my local machine, and the SAW Client is getting an error before it ever tries talking to the server?

I am thinking the problem is not the VSS Solution, but wih the SAW Client Installation on my computer. If it were a corrupt solution I would think others would be having problems, not just me.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 26, 2008 8:00 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
Thank you for getting back to us.

The most possible cause is that your VSS database is still corrupted. Which version of VSS are you using? Please upgrade your VSS to the latest version and then run the Analyze tool to see if the issue can be solved.

For the log issue, we will look into it and post the outcome here.

Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: VSS - Latest Version
PostPosted: Thu Jun 26, 2008 9:06 am 
Offline

Joined: Tue Nov 14, 2006 7:29 am
Posts: 11
We are running version 8.0.50727.47
It looks like the latest version is 8.0.50727.1551
Can you please confirm that 8.0.50727.1551 is the correct version
I will upgrade it tonight and let you know how it goes.

_________________
Regards,
Alex


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 27, 2008 1:12 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1489
Yes. The latest version of Visual SourceSafe is 8.0.50727.1551.

Thanks.

_________________
Catherine Sea
Dynamsoft Support Team
Dynamsoft - The leading provider of version control solution and TWAIN SDK
Source Control Software | Software Configuration Management | SCM Solution | Issue Tracking
SourceSafe (VSS) Remote/Web/Internet Access | SourceSafe (VSS) Replacement/Alternative | SourceSafe (VSS) Hosting|TFS Hosting

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

It is currently Wed May 16, 2012 6:51 pm


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

Copyright © 2010 Dynamsoft Corporation. All Rights Reserved. | Knowledge Base | Source Control Blog