Folder security shows blank for a repository suddenly
Moderator: SourceGear
Folder security shows blank for a repository suddenly
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.
Please sugegst what could be the issue and solution.
Re: Folder security shows blank for a repository suddenly
I am not sure what you mean with this line. Was the user branching?one of the users tried to versioning the soucecode to work for the next release
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
SourceGear Technical Support
Re: Folder security shows blank for a repository suddenly
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'.
Yes. The user treid branching to work for the next month code changes
=================================
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'.
I am not sure what you mean with this line. Was the user branching?Beth wrote:one of the users tried to versioning the soucecode to work for the next release
Yes. The user treid branching to work for the next month code changes
=================================
Re: Folder security shows blank for a repository suddenly
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
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
Re: Folder security shows blank for a repository suddenly
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.
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
SourceGear
Technical Support Manager
Re: Folder security shows blank for a repository suddenly
Thansk Linda. I was me only.
Re: Folder security shows blank for a repository suddenly
Just adding a note that this discussion has been taken offline.
HS: 221682
HS: 221682
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support