## pinning a file is pinning other shares of the same file

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

Moderator: SourceGear

nmcalpin
Posts: 38
Joined: Mon Nov 01, 2004 10:06 am

### pinning a file is pinning other shares of the same file

vault 3.5.2 client and server

we use pinning extensively and today have ran into an odd issue.

We have a file, lets call it baz.dll.

baz.dll is shared to many folders, perhaps 30-40 or so.

today, we ran into an issue wherein pinning baz.dll in $\foo affected the pin status of the file in$\bar (also causing it to be pinned).

essentially:

1) we started with $\foo\baz.dll and$\bar\baz.dll - shared copies of the same file; neither pinned
2) we pinned $\foo\baz.dll 3) when$\bar\baz.dll is observed, it is now also pinned, even though we did not pin it

what is causing this, how can we fix it?

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

### Re: pinning a file is pinning other shares of the same file

It's possible that the many shares are causing confusioin in the database as to which file should actually be pinned. I don't recall other reports of this -- it could be a bug.

What happens if you unpin the files, restart the Vault Server (run "iisreset" from a command prompt), then repin $\foo\baz.dll -- is$\bar\baz.dll pinned, too?
Linda Bauer
SourceGear
Technical Support Manager

nmcalpin
Posts: 38
Joined: Mon Nov 01, 2004 10:06 am

### Re: pinning a file is pinning other shares of the same file

We have determined what has happened.

both $\foo and$\bar are actually shares of \$\qux.

our developers extensively pin files and folders directly and this has worked well. The pin status of any (file or folder) has never affected the pin status of any other (file or folder).

however, we recently started sharing folders which contain pinned files, and assumed that the pinned status of the files within the shared folders would not have affect on the pin status of other shares of the same folder, whereas in reality they do.

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

### Re: pinning a file is pinning other shares of the same file

Yes, everything that happens to the contents of one link of a shared folder happens to the share link.

If you would like to easily share all the files from one folder to another, without actually sharing the folders, you might want to try our VSS Share Wizard. Then you can pin just one of the file shares.

http://www.sourcegear.com/vault/vaultpowertoys.html
Linda Bauer
SourceGear
Technical Support Manager