sgvault.log: Cannot insert duplicate key in object
Moderator: SourceGear
sgvault.log: Cannot insert duplicate key in object
I'm not sure what to do about this one:
We are getting an error when trying to perform a folder share from /Project1/SomeFiles to /Project2. Initially the files within SomeFiles were file shared into /Project2/SomeFiles. They were then shared into /Project1_A/SomeFiles and then branched. (for completeness) Those branched files were then shared from /Project1_A/SomeFiles to /Project2_A/SomeFiles. The files were deleted from /Project2/SomeFiles, and then the attempt to make the folder share was made with this resulting error.
Actual text from logfile: Violation of PRIMARY KEY constraint 'pk_tblfsobjectshares'. Cannot insert duplicate key in object 'tblfsobjectshares'.
The statement has been terminated.
We are getting an error when trying to perform a folder share from /Project1/SomeFiles to /Project2. Initially the files within SomeFiles were file shared into /Project2/SomeFiles. They were then shared into /Project1_A/SomeFiles and then branched. (for completeness) Those branched files were then shared from /Project1_A/SomeFiles to /Project2_A/SomeFiles. The files were deleted from /Project2/SomeFiles, and then the attempt to make the folder share was made with this resulting error.
Actual text from logfile: Violation of PRIMARY KEY constraint 'pk_tblfsobjectshares'. Cannot insert duplicate key in object 'tblfsobjectshares'.
The statement has been terminated.
-
- Posts: 55
- Joined: Wed Sep 29, 2004 8:09 am
- Location: Denmark, Copenhagen
- Contact:
Same problem
Hi,
I got the same problem today.
What I am trying to do:
$\Project1\FolderA\FolderB is a shared folder from $\Project2\Shared\FolderB.
I now delete $\Project1\FolderA\FolderB.
Then I go to a third folder, $\Project3\Shared\FolderB, which I now try to shared to the location $\Project1\FolderA\ - and when I try to commit that share I get the problem.
My serverlog contains these entries:
----1-25-2005 14:40:43 Hans_Olav_Nymand--hon.pdc.xx(139.88.66.165)--SSL Disabled Login
----1-25-2005 14:41:09 Hans_Olav_Nymand--hon.pdc.xx(139.88.66.165)--SSL Disabled Violation of PRIMARY KEY constraint 'pk_tblfsobjectshares'. Cannot insert duplicate key in object 'tblfsobjectshares'.
The statement has been terminated.
----1-25-2005 14:41:09 Hans_Olav_Nymand--hon.pdc.xx(139.88.66.165)--SSL Disabled VaultLib.VaultResponseItem returned: FailDBFault
----1-25-2005 14:41:09 Hans_Olav_Nymand--hon.pdc.xx(139.88.66.165)--SSL Disabled EndTxFailDBFault
Regards,
Hans Olav Nymand
Prolog Development Center A/S
I got the same problem today.
What I am trying to do:
$\Project1\FolderA\FolderB is a shared folder from $\Project2\Shared\FolderB.
I now delete $\Project1\FolderA\FolderB.
Then I go to a third folder, $\Project3\Shared\FolderB, which I now try to shared to the location $\Project1\FolderA\ - and when I try to commit that share I get the problem.
My serverlog contains these entries:
----1-25-2005 14:40:43 Hans_Olav_Nymand--hon.pdc.xx(139.88.66.165)--SSL Disabled Login
----1-25-2005 14:41:09 Hans_Olav_Nymand--hon.pdc.xx(139.88.66.165)--SSL Disabled Violation of PRIMARY KEY constraint 'pk_tblfsobjectshares'. Cannot insert duplicate key in object 'tblfsobjectshares'.
The statement has been terminated.
----1-25-2005 14:41:09 Hans_Olav_Nymand--hon.pdc.xx(139.88.66.165)--SSL Disabled VaultLib.VaultResponseItem returned: FailDBFault
----1-25-2005 14:41:09 Hans_Olav_Nymand--hon.pdc.xx(139.88.66.165)--SSL Disabled EndTxFailDBFault
Regards,
Hans Olav Nymand
Prolog Development Center A/S
Vault version 3.0.1 should have fixed this problem. Are you both running 3.0.1?
[Edit -- I said 3.0.1, but I should have said 3.0.2]
[Edit -- I said 3.0.1, but I should have said 3.0.2]
Last edited by jeremy_sg on Tue Jan 25, 2005 9:28 am, edited 1 time in total.
-
- Posts: 55
- Joined: Wed Sep 29, 2004 8:09 am
- Location: Denmark, Copenhagen
- Contact:
Is SomeFiles Project1 the same as the deleted SomeFiles Project2? If so, you can simply undelete the SomeFiles in Project2.
Also, a bug similar to this scenario described above (sharing a folder / deleting the share / re-sharing the folder )was fixed in Vault 3.0.2. Upgrading to Vault 3.0.2 should also allow the share to succeed.
Also, a bug similar to this scenario described above (sharing a folder / deleting the share / re-sharing the folder )was fixed in Vault 3.0.2. Upgrading to Vault 3.0.2 should also allow the share to succeed.
Jeff Clausius
SourceGear
SourceGear
I should note, Vault 3.0.2 can be found in the Vault Downloads section http://www.sourcegear.com/vault/downloads.html
Jeff Clausius
SourceGear
SourceGear