vbproj files won't update due to read-only locks

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

Moderator: SourceGear

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu Nov 15, 2007 8:18 am

OK. We'll investigate this for the next maintenance release of Vault 4.0.x.
Jeff Clausius
SourceGear

neal007
Posts: 225
Joined: Tue Feb 17, 2004 10:13 am

Post by neal007 » Thu Nov 15, 2007 1:42 pm

Thanks for looking into this Jeff, it happens pretty consistent now. My other dev opens the solution which changes 3-4 vbproj files as project references are updated. I just opened the solution, I see the hourglass symbol on the 3-4 projects so I do a GET LATEST on the solution. I then did a Build...Rebuild Solution and got the error as it was trying to save the changed files.

The problem seems to be one of two things:

Doing a Get Latest is not checking out the files being updated so when you attempt a save which occurs (for me) on a Build, it cannot save as the files are still tagged as read-only.

or

Get Latest is performing file edits but is not clearing the read-only file attribute on affected files.

I'm using Vista x64 Ultimate - if it matters.
Neal Culiner
NC Software, Inc.
http://www.nc-software.com

Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64

VB.NET Forums: http://www.vbdotnetforums.com

neal007
Posts: 225
Joined: Tue Feb 17, 2004 10:13 am

Post by neal007 » Thu Nov 15, 2007 1:47 pm

Jeff,

Duplicating this issue should not be hard.

1) Create a VB.NET solution (Windows App) that has a main EXE and 3-4 Class Libraries. I'll assume you will have your working folder on the C drive. The main EXE should use PROJECT references to the class libraries

2) On another machine set the working folder to a different drive/path combination such as D:\Test\*

3) Open up the solution on one machine and make a few changes, the .vbproj files should also update behind the scenes as the PROJECT references will have to update to the different path

4) Check-in and close the solution

5) On the other machine open up VS.NET 2005 and right-click on the solution node and do a get latest. You can probably trigger the error now by clicking the Save All option or performing a Build...Rebuild Solution, etc.
Neal Culiner
NC Software, Inc.
http://www.nc-software.com

Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64

VB.NET Forums: http://www.vbdotnetforums.com

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu Nov 15, 2007 3:18 pm

Thanks. We're currently working on Vault 4.0.6 issues, and I've added this to my list. We'll see if we can't get to the bottom of this as well as some of the other issues you've reported.
Jeff Clausius
SourceGear

neal007
Posts: 225
Joined: Tue Feb 17, 2004 10:13 am

Post by neal007 » Mon Nov 19, 2007 7:44 am

Jeff,

What may help us is by not having our local files set to "read-only" until this issue is fixed. What setttings do we need to change?

In the two attachments, I do not understand these settings. The labels and the corresponding settings just don't make sense and the docs don't tell me much. Can you please explain what these settings mean and their corresponding options?

Thx
Attachments
Vault-MakeWritable.jpg
Vault-MakeWritable.jpg (69.83 KiB) Viewed 3965 times
Vault-MakeWritable-2.jpg
Vault-MakeWritable-2.jpg (68.93 KiB) Viewed 3965 times
Neal Culiner
NC Software, Inc.
http://www.nc-software.com

Vault 5.1.2
VS 2010/C#
Windows 7 Ultimate x64

VB.NET Forums: http://www.vbdotnetforums.com

grant_hot
Posts: 1
Joined: Sun Dec 09, 2007 5:24 pm

I have this problem also

Post by grant_hot » Tue Jan 08, 2008 10:02 pm

Hi, we are experiencing this problem also. Is this fixed in 4.0.6??

Also can you please clarify the workaround for this?

Cheers

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Jan 09, 2008 9:23 am

neal007 wrote:In the two attachments, I do not understand these settings. The labels and the corresponding settings just don't make sense and the docs don't tell me much. Can you please explain what these settings mean and their corresponding options?

Thx
Neal, sorry for the late response, I didn't see you had updated this thread.

In any case, the "Make Writable" option is not labeled very well, but the Help in the Local Files section explains the value. (Note, it is the same option, just presented in two different places). This option controls the setting used with a GET operation. You can see this in action by making sure your GET command dialog comes up in the Vault GUI client, and looking at the option. So when a GET is invoked, you can make it so all binary files are read only, all files are read-only, or all files are writable.
Jeff Clausius
SourceGear

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: I have this problem also

Post by jclausius » Wed Jan 09, 2008 9:25 am

grant_hot wrote:Hi, we are experiencing this problem also. Is this fixed in 4.0.6??

Also can you please clarify the workaround for this?

Cheers
This will be fixed in Vault 4.0.7. There was a quick 4.0.6 release which addressed an issue causing "Critical Error in the application" for the server. We had to patch this quickly and issue an unscheduled maintenance release.

The issue will be looked at in the scheduled 4.0.7 which is looking like sometime in February.
Jeff Clausius
SourceGear

Post Reply