ASPNET_WP and VS 2005 Errors

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

Moderator: SourceGear

Locked
Chris P
Posts: 17
Joined: Fri Mar 17, 2006 8:11 am
Location: Manchester

ASPNET_WP and VS 2005 Errors

Post by Chris P » Fri Jul 28, 2006 2:28 am

Please see our installation details at the bottom of this issue.

We are experiencing a few errors that randomly occur when performing check-outs within VS 2005 on projects and project files.

The following error messages can be seen within the server application log:

-----------------------------------------------
Source: .NET Runtime 2.0 Error
ID : 5000
Description:
EventType clr20r3, P1 aspnet_wp.exe, P2 2.0.50727.42, P3 4333aece, P4 vaultserviceapilib, P5 3.5.0.4741, P6 44be8e0f, P7 d6, P8 6b, P9 system.nullreferenceexception, P10 NIL.
-----------------------------------------------
Source: ASP.NET 2.0.50727.0
ID: 1000
Description:
aspnet_wp.exe (PID: 3656) stopped unexpectedly.
-----------------------------------------------


Along with several of the following error messages before and after the above:

-----------------------------------------------
Source: Perflib
ID: 1000
Description:
Access to performance data was denied to ASPNET as attempted from C:\WINNT\System32\WBEM\WinMgmt.exe
-----------------------------------------------


I have set the server logging mode to debug to hopefully provide more detail on this.

Regards,

Chris


Installation Details:

Client Information
Vault Client Version: 3.5.0.4741
.Net Framework Version: 1.1.4322.2032
Operating System: Microsoft Windows 2000 Professional
Service Pack: 4.0
OS Version: 5.0.2195
Total Physical Memory: 1015.48 MB
Time Zone: (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London

Server Information
Vault Server Version: 3.5.0.4741
.Net Framework Version: 2.0.50727.42
Operating System: Microsoft Windows 2000 Server
Service Pack: 4.0
OS Version: 5.0.2195
Timezone: (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London
SQL Version: Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Developer Edition on Windows NT 5.0 (Build 2195: Service Pack 3)
Chris P

Chris P
Posts: 17
Joined: Fri Mar 17, 2006 8:11 am
Location: Manchester

More error detail

Post by Chris P » Fri Jul 28, 2006 3:11 am

When this error occurs the following messages (in sequential order) can be found in the sgvault debug log:

- Beginning SQL transaction 23521433
- Beginning SQL transaction 61476884
- An error occurred during the deletion of ltpds2yid0f1e4vcadx2lp45. Please check that the session was removed from the database.\tTransaction (Process ID 60) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
- SQL transaction 61476884 successfully rolled back.
- SQL transaction 23521433 successfully committed.
- sgvaultsystem--()--

Regards,

Chris
Chris P

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

Post by lbauer » Fri Jul 28, 2006 2:26 pm

Similar problem here:

http://support.sourcegear.com/viewtopic.php?t=4388

Try the fixes mentioned.
Linda Bauer
SourceGear
Technical Support Manager

Chris P
Posts: 17
Joined: Fri Mar 17, 2006 8:11 am
Location: Manchester

Post by Chris P » Tue Aug 01, 2006 1:05 am

The suggested fix has stopped the perlib messages but not the other more concerning ones:

-----------------------------------------------
Source: .NET Runtime 2.0 Error
ID : 5000
Description:
EventType clr20r3, P1 aspnet_wp.exe, P2 2.0.50727.42, P3 4333aece, P4 vaultserviceapilib, P5 3.5.0.4741, P6 44be8e0f, P7 d6, P8 6b, P9 system.nullreferenceexception, P10 NIL.
-----------------------------------------------
Source: ASP.NET 2.0.50727.0
ID: 1000
Description:
aspnet_wp.exe (PID: 3656) stopped unexpectedly.
-----------------------------------------------

These messages always appear together in the above order.

I have attached a portion of our vault log file and application event log file for yesterday within which these errors appeared in the server application event log. The specific times that this pair of errors appeared were 10:50:13, 15:43:36, and 16:35:06.

Hope this helps.
Attachments
vault_errors.txt
File containing a portion of the server event application log and a portion of the sgvault debug log file
(1004.29 KiB) Downloaded 560 times
Chris P

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

Post by lbauer » Tue Aug 01, 2006 8:31 am

These errors could be from running Vault in IIS 5 on the .NET Framework 2.0. We've found there are threading problems and some users have experienced frequent Vault system restarts.

You can change the framework Vault Server uses with the following steps.

Via the command line, run this command from the .NET Framework 2.0 directory on the Vault Server machine. (This assumes you have version 2.0.5727 -- use the appropriate directory if you have a different 2.0 version):

Code: Select all

C:\WINNT\Microsoft.NET\Framework\v2.0.5727\aspnet_regiis.exe -k W3SVC/1/ROOT/Vaultservice

This removes scriptmaps of ASP.NET 2.0.

Next, register (install) the .NET Framework 1.1:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
Then to verify the proper scriptmaps have been installed, run:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -s W3SVC/1/ROOT/Vaultservice
I'd suggest restarting IIS after this.
Linda Bauer
SourceGear
Technical Support Manager

Locked