Vault Error: Object reference not set to an instance of an o

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

Moderator: SourceGear

Post Reply
dchoi
Posts: 1
Joined: Fri Oct 23, 2009 3:50 pm

Vault Error: Object reference not set to an instance of an o

Post by dchoi » Fri Oct 23, 2009 4:10 pm

Please help, I am new to Vault. The system was set up by someone before me. After I authenticated and selected a repository from Vault client the following error appears:

Object reference not set to an instance of an object.

It happened to one of the repository not the other but the one having problem is the useful one. Web access to the same repository is fine. I've searched the knowledge base, there is only one entry and not helpful. Any idea is welcome, thanks.

Here is the info about my system.

Client Information
Vault Client Version: 4.1.1.18060
.Net Framework Version: 2.0.50727.3082
Operating System: Microsoft Windows XP Professional
Service Pack: 3.0
OS Version: 5.1.2600
Total Physical Memory: 1.99 GB
Time Zone: (GMT-06:00) Central Time (US & Canada)

Server Information
Vault Server Version: 4.1.1.18060
.Net Framework Version: 2.0.50727.1433
Operating System: Microsoft(R) Windows(R) Server 2003, Standard Edition
Service Pack: 2.0
OS Version: 5.2.3790
Timezone: (GMT-06:00) Central Time (US & Canada)
SQL Version: Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Standard Edition on Windows NT 5.0 (Build 2195: Service Pack 4)

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

Re: Vault Error: Object reference not set to an instance of an o

Post by lbauer » Mon Oct 26, 2009 9:42 am

I'd suggest deleting the client-side cache, as it may be out of sync with the database. Close any open clients first.

http://support.sourcegear.com/viewtopic ... 13&t=11513
Linda Bauer
SourceGear
Technical Support Manager

DavidBailey
Posts: 2
Joined: Tue Oct 27, 2009 11:42 am

Re: Vault Error: Object reference not set to an instance of an o

Post by DavidBailey » Tue Oct 27, 2009 11:45 am

Hi guys

I am also experiencing the same problem. Tried clushing the cache and restarting, but all to no avail. Any further help hugely appreciated.

Cheers,
David

DavidBailey
Posts: 2
Joined: Tue Oct 27, 2009 11:42 am

Re: Vault Error: Object reference not set to an instance of an o

Post by DavidBailey » Tue Oct 27, 2009 11:52 am

Hi guys

I am experiencing the same problem. When connecting to the respository I get the same exception in the client. However, using the Webservice gives the same error.

Looking the log files, the following exception appears time and time again:

System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK__ufngettreestruct__799DF262'. Cannot insert duplicate key in object 'dbo.@resulttree'.

Any advice?!?

Cheers guys for your help!
David

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

Re: Vault Error: Object reference not set to an instance of an o

Post by lbauer » Thu Oct 29, 2009 3:22 pm

We're working offline with David to resolve this database issue.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply