Dragnet No Longer Works with Name Change of Vault Repository

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

Moderator: SourceGear

Locked
PaulWilson
Posts: 4
Joined: Tue May 31, 2005 9:01 am

Dragnet No Longer Works with Name Change of Vault Repository

Post by PaulWilson » Tue May 31, 2005 9:07 am

I had Vault and Dragnet both setup and working perfectly, then my boss decided that the name of my Vault Repository wasn't quite right. So we changed that, and while Vault still works, Dragnet is now failing to work. We get the following message when going to the Dragnet url:

Server Error in '/Dragnet' Application.
Object reference not set to an instance of an object.
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: System.NullReferenceException: Object reference not set to an instance of an object.

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:

[NullReferenceException: Object reference not set to an instance of an object.]
MantisServiceLib.Helpers.ListTrackingStartPage(Page mPage) +84
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


Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue May 31, 2005 10:30 am

What are the results from this query:

SELECT name, login FROM sgdragnet.dbo.users WHERE uid = 1
Jeff Clausius
SourceGear

PaulWilson
Posts: 4
Joined: Tue May 31, 2005 9:01 am

Dragnet No Longer Works with Name Change of Vault Repository

Post by PaulWilson » Tue May 31, 2005 12:24 pm

name login
------ ------
admin admin

PaulWilson
Posts: 4
Joined: Tue May 31, 2005 9:01 am

Dragnet No Longer Works with Name Change of Vault Repository

Post by PaulWilson » Tue May 31, 2005 12:38 pm

Alright, this is really weird. Its working in IE, but not FireFox. Before the change in the vault repository it was working in FireFox with no problem. But now it works fine in IE and has the runtime error note below in FireFox. I don't think I've ever seen an asp.net app with that had a runtime error in only one type of browser!

PaulWilson
Posts: 4
Joined: Tue May 31, 2005 9:01 am

Post by PaulWilson » Tue May 31, 2005 12:49 pm

OK, I knew that sounded too weird. I removed the cookies for FireFox for my Vault/Dragnet site and everything works now. I still don't see why something in a cookie, presumably about the repository name, would cause a runtime error though. Anyhow, I'm sorry to have wasted your time.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue May 31, 2005 12:55 pm

I have no idea why that would have happened. I'll log an investigatory request to see if it is something related to a cached cookie.

Thanks
Jeff Clausius
SourceGear

Locked