User rights suddenly broken

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

Moderator: SourceGear

Post Reply
jldailey
Posts: 1
Joined: Fri Apr 07, 2006 10:19 am

User rights suddenly broken

Post by jldailey » Fri Apr 07, 2006 10:26 am

Server: 3.1.2.3511

We lost power to our development box, which hosts IIS and the VaultService, but not the database. When it came back up, now everyone who tries to login, gets the message: "You dont have rights to view any items in the repository".

I can go into the Vault Admin, look at all the users and verify that they all are assigned R,C,A rights to our single repository. There are no group permissions being inherited. The only thing that smells like corruption, is if you click on the Properties button on the Repositories tab, you get the following .NET exception:
"
System.Web.Services.Protocols.SoapException: VaultServiceAPILib.VaultSoapException: 1104 : FailDBReader
at VaultService.VaultAdminService.GetRepositoryProperties(Int32 nRepID, VaultRepositoryInfo& vrInfo)
at VaultAdmin.AdminManager.HandleException(Exception e, Boolean bHandle, Boolean isSoap)
at VaultAdmin.AdminManager.LoadRepositoryProperties(Int32 repID)
at VaultAdmin.FormMain.CommandShowProperties()
at VaultAdmin.FormMain.buttonProperties_Click(Object sender, EventArgs e)
"

I can login to the database, select * from tblrepositories, etc... the db itself doesnt show any signs of corruption. Any ideas on what I can do to get people logging back in?

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

Post by lbauer » Fri Apr 07, 2006 2:18 pm

Can you send me the sgvault.log file? It's in %windir%\temp\sgvault. I'd like to look for any other errors. Email to Linda at SourceGear.com

If you need to use the repository immediately, you could temporarily disable folder security on the repository. You will not lose your current security rights settings, they are just not checked for the time being.
Linda Bauer
SourceGear
Technical Support Manager

jasryan
Posts: 2
Joined: Wed May 03, 2006 1:14 pm

Post by jasryan » Wed May 03, 2006 1:16 pm

hi,

just wondering was this solved? as I have the same issue after restoring a database to a new machine.

Thanks,
Jason

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

Post by lbauer » Wed May 03, 2006 3:24 pm

Restart IIS on the Vault Server machine (iisreset from the command line.)

If that doesn't help, I'd like to see your sgvault.log file? It's in %windir%\temp\sgvault. Email to Linda at SourceGear.com
Linda Bauer
SourceGear
Technical Support Manager

jasryan
Posts: 2
Joined: Wed May 03, 2006 1:14 pm

Post by jasryan » Sun May 07, 2006 5:22 am

Hi Linda,
Tried the reset but it still doesnt work - I have emailed the log file.

Many thanks,
Jason

Post Reply