Folder security shows blank for a repository suddenly

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

Moderator: SourceGear

Post Reply
rags1234
Posts: 5
Joined: Thu Nov 11, 2010 8:28 am

Folder security shows blank for a repository suddenly

Post by rags1234 » Fri Nov 12, 2010 8:51 am

Our Sourcegear valut client was working without any problem and when one of the users tried to versioning the soucecode to work for the next release, vault client threw an eeor and hanged. After this the vault server system was restarted. Then on, who ever logins and choses this repository, client says, you do no have any rigths to access this repository.

Please sugegst what could be the issue and solution.

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

Re: Folder security shows blank for a repository suddenly

Post by Beth » Fri Nov 12, 2010 11:30 am

one of the users tried to versioning the soucecode to work for the next release
I am not sure what you mean with this line. Was the user branching?

Since the system was restarted, it sounds like a cache was left with partial information. Here's what you can do:

Options:
1) Perform an iisreset on the Vault server by going to Start - Run and typing iisreset. This will clear all the server side caches. This also recycles your other websites as well.

2) If #1 doesn't take care of the issue, then starting with the user who had the hang, have that user rename his or her close all instances of the Vault client and Visual Studio, then rename the Vault client-side cache. Then perform an iisreset on the Vault server. After that have the user try opening Vault and connecting.

3) If you can't perform an iisreset on the Vault server, then you can replace the suggestion for the iisreset in items 1 and 2 by recycling the VaultAppPool. Open your IIS Manager, expand Application Pools, right-click the VaultAppPool and select Recycle. It won't look very eventful, but it will clear out the server-side cache and reload the settings.

So that we can troubleshoot what the user was doing prior to the latest issue, can you look in the Vault Server Log for around the same time as the user was "versioning the soucecode?" What error is posted there?
Beth Kieler
SourceGear Technical Support

rags1234
Posts: 5
Joined: Thu Nov 11, 2010 8:28 am

Re: Folder security shows blank for a repository suddenly

Post by rags1234 » Mon Nov 15, 2010 2:26 am

Thanks for your help.

I tried all the below three informations provided but no positive result. Still we have the same issue. In Admin, only this repository when right clicked, throws error " 1104 : File DbReader. " rest of other repositories are working fine.

The follwoing was the portion extracted during versioning the source code:

================================================================
----11/9/2010 10:07:21 AM jomon--121.242.18.130(121.242.18.130)--SSL Disabled Login
----11/9/2010 10:09:49 AM jomon--121.242.18.130(121.242.18.130)--SSL Disabled System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK__@resulttree__4FD20363'. Cannot insert duplicate key in object '#4EDDDF2A'.

Beth wrote:
one of the users tried to versioning the soucecode to work for the next release
I am not sure what you mean with this line. Was the user branching?

Yes. The user treid branching to work for the next month code changes

=================================

rags1234
Posts: 5
Joined: Thu Nov 11, 2010 8:28 am

Re: Folder security shows blank for a repository suddenly

Post by rags1234 » Mon Nov 15, 2010 8:36 am

When I tried through web url, th throws the folwoing erroe:

Server Error in '/VaultService' Application.
--------------------------------------------------------------------------------

Error in the application.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: VaultLib.VaultBuildTreeException: Error in the application.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[VaultBuildTreeException: Error in the application.]
VaultServiceSQL.VaultSqlSCC.GetRepositoryTree(VaultSqlConn conn, Int32 nRepID, Int64 nTxID, Boolean bNeedCurrentHashes, VaultRepository& rep) +913
VaultServiceAPILib.VaultTreeManager.a(VaultSqlConn A_0, Int32 A_1, VaultLogManager A_2, VaultLoginInfo A_3) +677
VaultServiceAPILib.VaultTreeManager.GetCurrentTree(VaultSqlConn vsConn, Int32 nRepID, VaultRepository& repOut) +190
VaultServiceAPILib.VaultTreeManager.GetCurrentTree(Int32 nRepID, VaultRepository& repOut) +12
VaultService.VaultWeb.ShowFolder.Page_Load(Object sender, EventArgs e) +1182
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

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

Re: Folder security shows blank for a repository suddenly

Post by lbauer » Mon Nov 15, 2010 9:41 am

The errors you are seeing indicate some sort of database problem.

We did an online session with a user with this problem today? Was that you? If so, we are dealing with this issue offline.

If it wasn't you, then let us know and we'll continue troubleshooting.
Linda Bauer
SourceGear
Technical Support Manager

rags1234
Posts: 5
Joined: Thu Nov 11, 2010 8:28 am

Re: Folder security shows blank for a repository suddenly

Post by rags1234 » Thu Nov 18, 2010 3:54 am

Thansk Linda. I was me only.

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

Re: Folder security shows blank for a repository suddenly

Post by Beth » Thu Nov 18, 2010 11:41 am

Just adding a note that this discussion has been taken offline.

HS: 221682
Beth Kieler
SourceGear Technical Support

Post Reply