I am having a problem when trying to run vault.exe on our server when not logged in. The problem is the same as this issue:
http://support.sourcegear.com/viewtopic ... pe+clr20r3
The server is Windows 2003, running Vault Server 4.1.2.18185. We recently got a new physical server, and moved all our internal services (FogBugz, Vault Server, AutomatedQA Build Studio, etc) onto this new machine. This same setup was running fine on the old server for the past few years. We have not upgraded any software versions since the move to the new server.
When trying to run a command line get, this works when logged in to the server through remote desktop, but will not run through a scheduled task or when running our automated build software. i.e. This command fails:
"C:\Program Files\SourceGear\Vault Client\vault.exe" get -host HOST -user USER -password PASSWORD -repository REPOSITORY -merge overwrite -workingfolder "C:\temp" $/root
Two errors show up in the Application Event Log on the server:
First error:
Source: .NET Runtime 2.0 Error
Event ID: 5000
User: N/A
Description: EventType clr20r3, P1 vault.exe, P2 4.1.2.18185, P3 483e850e, P4 mscorlib, P5 2.0.0.0, P6 4333ab80, P7 4c2d, P8 6, P9 udta330idobh2roz2ayvlcelag5agtls, P10 NIL.
Second error, two seconds later:
Source: VsJITDebugger
Event ID: 4096
User: MCSLDOM\MCSLBuild
Description: An unhandled exception ('System.Security.Cryptography.CryptographicException') occurred in vault.exe [2400]. Just-In-Time debugging this exception failed with the following error: Debugger could not be started because no user is logged on.
I have the following Frameworks installed, with most recent service packs installed:
1.0.3705
1.1.4322
2.0.50727
I have tried reinstalling the vault client with no luck. Since this machine hosts our vault server (as well as other essential services) I can not try an uninstall/reinstall of the .NET Framework or try running aspnet_regiis during the day.
Was the issue reported in this thread (http://support.sourcegear.com/viewtopic ... pe+clr20r3) ever resolved offline?
Please help.
Thanks,
Warren
Vault Client: .NET error EventType clr20r3, P1 vault.exe ...
Moderator: SourceGear
Re: Vault Client: .NET error EventType clr20r3, P1 vault.exe ...
The solution was the user needed to give administrator and system rights to C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys. Give that a try first.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Vault Client: .NET error EventType clr20r3, P1 vault.exe ...
Thank you Beth. This solved my problem.
Re: Vault Client: .NET error EventType clr20r3, P1 vault.exe ...
Thanks for the update.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support