Object reference not set to an instance of an object

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

Moderator: SourceGear

Locked
Guest

Object reference not set to an instance of an object

Post by Guest » Fri Feb 18, 2005 6:00 am

I just installed the new versions of Vault and Dragnet on my PC and it was working well (in that I could login to them both) and I just changed the username of the dragnet admin user to Chris and now I get the following error when I try to login through the same browser I was using (firefox):

Code: Select all

[NullReferenceException: Object reference not set to an instance of an object.]
   MantisServiceLib.Helpers.ListTrackingStartPage(Page mPage) +86
   Mantis.Default.Page_Load(Object sender, EventArgs e) +48
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750

If I try to login using IE6 I get the login screen but it tells me my password is incorrect.

Another issue is that the vault client keeps telling me that my session has epxired and needs to relogin. Could this be related?

They are both installed locally on my Windows XP SP2 machine running SQL 2000 SP3.

mskrobul
Posts: 490
Joined: Wed Jan 14, 2004 10:22 am
Location: SourceGear
Contact:

Post by mskrobul » Fri Feb 18, 2005 9:56 am

You really aren't supposed to change the name of the Admin user. The fact that you can is a bug.

Email me directly (using the link at the bottom of the page) and I will send you the sql to reset the Admin User name and password.
Mary Jo Skrobul
SourceGear

SEWilson

Same problem here, but we didn't touch the admin account.

Post by SEWilson » Tue Jul 26, 2005 1:19 pm

Any suggestions?


[NullReferenceException: Object reference not set to an instance of an object.]
MantisServiceLib.Helpers.ListTrackingStartPage(Page mPage) +86
Mantis.Default.Page_Load(Object sender, EventArgs e) +48
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731


This happens after enabling AD authentication and 4 new users. After I perform a clean re-install I have to change the web.config to <allow users="*"> to get past this error.

I'm stuck, was hoping to get dragnet installed before noon, almost noon-thrity now.

- TIA

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

Post by lbauer » Tue Jul 26, 2005 1:56 pm

Did you install Dragnet using a custom account? This is a requirement for Active Directory authentication to work.

If you did use a custom account, the next thing to try is setting authentication back to Dragnet authentication. Does this still work?

If not, are there any error messages in the dragnet.log file in %windir%\temp\sgdragnet?
Linda Bauer
SourceGear
Technical Support Manager

Locked