Error Getting Latest

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

Moderator: SourceGear

Post Reply
dmurty
Posts: 37
Joined: Tue May 23, 2006 10:08 am
Contact:

Error Getting Latest

Post by dmurty » Thu Sep 23, 2010 1:31 pm

Hello,

In the last few weeks every time I try to get latest I get the following error:
[9/23/2010 12:23:28 PM] Local file update for $/1 - Current Development/HSIUpdate/HSIUpdate.cmp failed: System.UnauthorizedAccessException: Access to the path 'C:\Data\Install\HSIUpdate\_sgvault\34101.553739' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
at VaultClientOperationsLib.WorkingFolder.CleanupBaselineFiles(Int64 ID, Int64 currentVersion, Int32 limit)
at VaultClientOperationsLib.WorkingFolder.UpdateHiddenFileContentsFromDelta(VaultClientFile file, String deltaFile, Int64 baseVersion, Int64 targetVersion, UInt32 targetCRC, Int64 targetSize)
at VaultClientOperationsLib.UpdateThread.ProcessCommand(UpdateThreadCommand command, UpdateThreadCommandResult& outputResult)

I will get this for a number of files. To fix it I have to delete the _sgvault folder for that working folder and then get latest. I will then be able to get latest once this is fixed for each working folder. But then it will come back the following day. This is becoming to cumbersome to get latest.

Please let me know what needs to be done to resolve this issue.

Thanks,

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

Re: Error Getting Latest

Post by Beth » Thu Sep 23, 2010 2:00 pm

Are you running multiple instances of the Vault GUI client or Visual Studio at the same time?

Is your anti-virus possibly scanning that file? The next time you receive that error, try turning off your anti-virus and see if you can then access it.
Beth Kieler
SourceGear Technical Support

dmurty
Posts: 37
Joined: Tue May 23, 2006 10:08 am
Contact:

Re: Error Getting Latest

Post by dmurty » Thu Sep 23, 2010 3:03 pm

I think I may have resolved it. I am running Windows 7 x64 with UAC on. We just changed from Check out/Check in to the Edit/Merge/Commit still. I had to run the VaultClientGUI with Administration Rights and then got latest on the repository and it worked. I think it needed to change read only properties on files because of the old Check out/Check in style. I will let you know if this issue comes back.

Thanks,
Damien

Post Reply