vault session timing out

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
gclopez
Posts: 5
Joined: Wed Nov 01, 2006 10:14 am

vault session timing out

Post by gclopez » Wed Nov 01, 2006 10:23 am

My vault session keeps timing out every few minutes for no apparent reason. This happens within VS 2005 but not, it seems, with the Client tool.

This is an warning I see often in the Error Log.

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 11/1/2006
Time: 9:33:56 AM
User: N/A
Computer: XXXXXXX
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/1/2006 9:33:56 AM
Event time (UTC): 11/1/2006 3:33:56 PM
Event ID: 6bfeca87d1244e9d990575c5acb5b605
Event sequence: 6
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/VaultService-1-128068688356299392
Trust level: Full
Application Virtual Path: /VaultService
Application Path: C:\Inetpub\wwwroot\VaultService\
Machine name: XXXXXXX

Process information:
Process ID: 5340
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: VaultSoapException
Exception message: 2103 : FailCookieInvalid

Request information:
Request URL: http://XXXXXXX/VaultService/VaultFileUp ... 745edb7892
Request path: /VaultService/VaultFileUpload.aspx
User host address: <obfuscated>
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 8
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at VaultService.VaultFileUpload.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I also ran into this error:

EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.0, P3 3e8000e6, P4 vaultserviceapilib, P5 3.5.1.4786, P6 45085b44, P7 d6, P8 6b, P9 system.nullreferenceexception, P10 NIL.

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

Post by lbauer » Wed Nov 01, 2006 10:57 am

What configuration information is listed in the Vault Client under Help->Technical Support?

Also, I'd like to see a copy of the Vault server log, sgvault.log in %windir%\temp\sgvault.

Post the info here or email support@sourcegear.com, attn: Linda
Linda Bauer
SourceGear
Technical Support Manager

gclopez
Posts: 5
Joined: Wed Nov 01, 2006 10:14 am

Post by gclopez » Wed Nov 01, 2006 11:06 am

Client Information
Vault Client Version: 3.5.1.4786
.Net Framework Version: 1.1.4322.2032
Operating System: Microsoft Windows XP Professional
Service Pack: 2.0
OS Version: 5.1.2600
Total Physical Memory: 1022.07 MB
Time Zone: (GMT-06:00) Central Time (US & Canada)

Server Information
Vault Server Version: 3.5.1.4786
.Net Framework Version: 2.0.50727.42
Operating System: <<WINDOWS SERVER 2003>>
Service Pack:
OS Version:
Timezone:
SQL Version: Microsoft SQL Server 2000 - 8.00.2039 (Intel X86)
May 3 2005 23:18:38
Copyright (c) 1988-2003 Microsoft Corporation
Standard Edition on Windows NT 5.2 (Build 3790: )

License Information
1 serial number(s):
1 of 1: 5 users, permanent
Attachments
sgvault.txt
Attached is today's log file.
(32.79 KiB) Downloaded 426 times

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

Post by lbauer » Wed Nov 01, 2006 5:05 pm

From the log, it appears the Vault Server is restarting periodically. Is there something on the server machine that could be causing IIS to restart? Do you have Sharepoint on that machine?

Also, check this KB article about recycling issues in IIS 6:

http://support.sourcegear.com/viewtopic.php?t=1014
Linda Bauer
SourceGear
Technical Support Manager

gclopez
Posts: 5
Joined: Wed Nov 01, 2006 10:14 am

Post by gclopez » Thu Nov 02, 2006 8:35 am

The only extra services on that machine are SQL Server 2000 and Vault. There is no Sharepoint and no other web services/sites besides Vault.

gclopez
Posts: 5
Joined: Wed Nov 01, 2006 10:14 am

Post by gclopez » Thu Nov 02, 2006 9:49 am

It's not timing out. It seems certain operations are killing the service and it is restarting. That would explain the NullException error I reported. I'm going to note which operation(s) are causing problems and I'll post it back on here.

gclopez
Posts: 5
Joined: Wed Nov 01, 2006 10:14 am

Post by gclopez » Fri Nov 03, 2006 8:27 am

It seems to happen on any operation such as check out, check in, etc.

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

Post by lbauer » Fri Nov 03, 2006 10:36 am

We're not sure what the problem is. It might be related to this error:
Exception information:
Exception type: VaultSoapException
Exception message: 2103 : FailCookieInvalid
If something is interfering with cookies, then there may be a failure that the Vault Server is not handling well, so it restarts. If this is network related, you could try running a network analyzer like Ethereal and compare the same operations with the Vault GUI Client and VS 2005.

Or, it could be something related to .NET. Your Vault GUI Client is using the .NET Framework 1.1, but VS 2005 uses the 2.0 Framework.

It might be helpful to turn on IDE logging for VS 2005 to see if any errors are logged. Details here:

http://support.sourcegear.com/viewtopic.php?t=2898
Linda Bauer
SourceGear
Technical Support Manager

Locked