Always having to relogin: Error 500

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

Moderator: SourceGear

Locked
kbonnin
Posts: 30
Joined: Sat Jan 15, 2005 1:21 pm
Location: Portland, OR
Contact:

Always having to relogin: Error 500

Post by kbonnin » Fri Feb 11, 2005 10:47 am

Hello,

I've been using multi-user Dragnet 1.0.1 for several months. I notice it frequently sends me to "Error 500: The Server is unable to proces...", espeically when editing an item. It happens almost all the time with batch edit. Thought it was a timeout mechanism.

In the past few days I've had to re-login on almost every click after 5 minutes or so of non-use.

I upgraded to Dragnet 1.0.2 last night and now I can only browse my database. If I try to edit any item at all, I get redirected to "Error 500: The Server is unable...", so I'm dead in the water.

I'm going to revert to dragnet 1.0.1 and see if I can back to work. Any ideas?

thanks, Ken

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

Post by jclausius » Fri Feb 11, 2005 10:57 am

Anything in the server's log? The default directory for Dragnet's log file is %windir%\temp\sgdragnet.
Jeff Clausius
SourceGear

kbonnin
Posts: 30
Joined: Sat Jan 15, 2005 1:21 pm
Location: Portland, OR
Contact:

Post by kbonnin » Fri Feb 11, 2005 11:04 am

Yep, the dreaded "Object reference not set to an instance of an object".

Code: Select all

2005-02-07 09:27:25.671 Configured Options: :    LogLevel - Quiet  LogReverseDNSLookup - True
2005-02-07 09:29:47.968 LEAF (192.168.1.103)- : Helpers::ListProjects Session Timed Out 
2005-02-07 09:29:47.968 LEAF (192.168.1.103)- : Helpers::ListUserPreferences Session Timed Out 
2005-02-07 09:29:48.312 LEAF (192.168.1.103)- : Server error 500 Object reference not set to an instance of an object. 
Full log attached. I can send you my db if that'll help.

ken

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

Post by jclausius » Fri Feb 11, 2005 11:11 am

Can you place your server's log in Debug Mode ( this is controlled by changing the Log Level within web.config from "Quiet" to "Debug" ), and then try to re-create the error?

That debug log will have more information in tracking down the problem.
Jeff Clausius
SourceGear

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

Post by jclausius » Fri Feb 11, 2005 11:18 am

One other thing comes to mind...

In the normal Event Viewer ( ignore the Dragnet one ), are their any errors related to the 500 error in the Application or System Event Logs?
Jeff Clausius
SourceGear

kbonnin
Posts: 30
Joined: Sat Jan 15, 2005 1:21 pm
Location: Portland, OR
Contact:

Post by kbonnin » Fri Feb 11, 2005 11:26 am

Here's what we got:

Code: Select all

# SourceGear Vault Server
2005-02-11 09:24:07.828 Starting SourceGear Dragnet by SourceGear, LLC - Version 1.0.2.1197   Copyright © 2003-2005 SourceGear, LLC  All rights reserved.
2005-02-11 09:24:07.937 Configured Options: :    LogLevel - Debug  LogReverseDNSLookup - True
2005-02-11 09:24:10.921 pinkmartini (127.0.0.1)- : Helpers::ListProjects 
2005-02-11 09:24:10.984 pinkmartini (127.0.0.1)- : Helpers::ListProjects Session Timed Out 
2005-02-11 09:24:11.140 pinkmartini (127.0.0.1)- : Helpers::ListUserPreferences 
2005-02-11 09:24:11.171 pinkmartini (127.0.0.1)- : Helpers::ListUserPreferences Session Timed Out 
2005-02-11 09:24:11.359 pinkmartini (127.0.0.1)- : Server error 500 Object reference not set to an instance of an object. 
2005-02-11 09:24:11.375 pinkmartini (127.0.0.1)- : Helpers::DeleteSession - SessionID=vv41cw55keeafmievnty4m45 
2005-02-11 09:24:18.734 pinkmartini (127.0.0.1)- : Helpers::Login - strLogin=ken, strPassword=<not_displayed>, strSessionID=vv41cw55keeafmievnty4m45 
2005-02-11 09:24:18.906 pinkmartini (127.0.0.1)-ken : Helpers::ListUserPreferences 
2005-02-11 09:24:19.015 pinkmartini (127.0.0.1)-ken : Helpers::ListUserPermissions 
2005-02-11 09:24:19.015 pinkmartini (127.0.0.1)-ken : Helpers::ListUserPermissions 
2005-02-11 09:24:19.468 pinkmartini (127.0.0.1)-ken : Helpers::ListItemDetails - id=2084 
2005-02-11 09:24:19.484 pinkmartini (127.0.0.1)-ken : Helpers::ListProjects 
2005-02-11 09:24:21.687 pinkmartini (127.0.0.1)-ken : Helpers::ListOpenItems - pid=101 
2005-02-11 09:24:21.859 pinkmartini (127.0.0.1)-ken : Helpers::QueryItems 
2005-02-11 09:24:22.375 pinkmartini (127.0.0.1)-ken : Helpers::ListMilestones - strPid=101 
2005-02-11 09:24:22.421 pinkmartini (127.0.0.1)-ken : Helpers::ListMilestones - strPid=101 
2005-02-11 09:24:27.625 pinkmartini (127.0.0.1)-ken : Helpers::ListItemDetails - id=2464 
2005-02-11 09:24:29.796 pinkmartini (127.0.0.1)-ken : Helpers::ListItemEdit - id=2464 
2005-02-11 09:24:29.828 pinkmartini (127.0.0.1)-ken : Server error 500 Object reference not set to an instance of an object. 
2005-02-11 09:24:29.843 pinkmartini (127.0.0.1)-ken : Helpers::DeleteSession - SessionID=vv41cw55keeafmievnty4m45 
2005-02-11 09:24:29.875 pinkmartini (127.0.0.1)-ken : Helpers::DeleteSession - SessionID=vv41cw55keeafmievnty4m45 

kbonnin
Posts: 30
Joined: Sat Jan 15, 2005 1:21 pm
Location: Portland, OR
Contact:

Post by kbonnin » Fri Feb 11, 2005 11:29 am

Nothing at all in the Dragnet section of the event viewer, and nothing of note in any of the other logs in the Windows Event Viewer.

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

Post by jclausius » Fri Feb 11, 2005 11:33 am

A couple of questions -

Is this happening for other items or just item - 2464?

Have you tried loggin in as the Admin account, and viewing that item to see if that fails as well?
Jeff Clausius
SourceGear

kbonnin
Posts: 30
Joined: Sat Jan 15, 2005 1:21 pm
Location: Portland, OR
Contact:

Post by kbonnin » Fri Feb 11, 2005 11:43 am

Of 10 different items in my 290 active item database, of different milestones, all failed. The same was true with the admin user.

Shall I just send you my DB and you can demo it yourself?

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

Post by jclausius » Fri Feb 11, 2005 11:48 am

If that is OK. It would be the fastest way to check things out.

Click on the email link below to send the mail my way.
Jeff Clausius
SourceGear

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

Post by mskrobul » Fri Feb 11, 2005 11:58 am

Did you restart IIS after you upgraded Dragnet? If not, try restarting IIS. There may be some things cached that are causing problems.
Mary Jo Skrobul
SourceGear

Locked