Admin of vault : Object reference not set to an instance ...

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

Moderator: SourceGear

Post Reply
peterbrown05
Posts: 41
Joined: Fri Oct 10, 2008 2:09 am

Admin of vault : Object reference not set to an instance ...

Post by peterbrown05 » Fri Mar 19, 2010 11:58 am

We today upgraded Vault from v4.1.4.18402 to v5.0.3.18802

Now, when we log in as an administrator into the webAdmin, when clickin on a Repository->Repository Access we get the following error "Object reference not set to an instance of an object."

We see this for a number of other admin screens.

What can we do to fix this?

cheers
peter brown

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

Re: Admin of vault : Object reference not set to an instance ...

Post by Beth » Fri Mar 19, 2010 1:25 pm

Are you logging in as the admin user or just a user with admin level privileges? Try logging in as the actual admin user and see if you get the same error message.

Did the database or the main Vault installation switch servers at all?
Beth Kieler
SourceGear Technical Support

peterbrown05
Posts: 41
Joined: Fri Oct 10, 2008 2:09 am

Re: Admin of vault : Object reference not set to an instance ...

Post by peterbrown05 » Mon Mar 22, 2010 11:53 am

Hi Beth
The Admin user sees the same error messages.
We see this on more than just the permissions page.

The Server did not change at all,

What now?
cheers
peteB

peterbrown05
Posts: 41
Joined: Fri Oct 10, 2008 2:09 am

Re: Admin of vault : Object reference not set to an instance ...

Post by peterbrown05 » Mon Mar 22, 2010 12:03 pm

..interestingly we just tried to enable debug logging. And now all the broken UIs in the tree are now working !!!!

Is there is some server side cache which needed to be flushed?
By changing the log level a restart of the server was forced. But I restarted IIS several times when I reinstalled.

please advise.?

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

Re: Admin of vault : Object reference not set to an instance ...

Post by Beth » Mon Mar 22, 2010 4:14 pm

How one restarts IIS can make a difference. When you save the changes to logging, the Vault App Pool is recycled. That does flush a server-side cache. Also, if you were to go to a command line and type the command iisreset, then server-side caches are cleared. Some users just stop and start IIS, and I don't think that clears anything.

If this happens again, then let me know. I wouldn't expect this to be something you ever see again, but if it were happening with any sort of regularity, then we should find out why.
Beth Kieler
SourceGear Technical Support

Post Reply