Error connecting Vault service

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

Moderator: SourceGear

Post Reply
HansL
Posts: 1
Joined: Thu Jul 23, 2009 4:30 am

Error connecting Vault service

Post by HansL » Thu Jul 23, 2009 4:36 am

Using Vault Client 4.1.4 (18402). Yesterday we booted our server and since then we are not able to connect to the vault service. The client throws an exception: Server was unable to process request. ---> The type initializer for 'VaultServiceAPILib.VaultServiceAPI' threw an exception. ---> Bad IL format.

Additional windows eventlog info;

Code: Select all

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 7/23/2009 12:18:56 PM 
Event time (UTC): 7/23/2009 10:18:56 AM 
Event ID: 7981d95fb5a94bb199a04162a7ebaf88 
Event sequence: 136 
Event occurrence: 53 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/1/Root/VaultService-1-128927494490234648 
    Trust level: Full 
    Application Virtual Path: /VaultService 
    Application Path: C:\inetpub\wwwroot\VaultService\ 
    Machine name: CT-WEBSVR 
 
Process information: 
    Process ID: 3800 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 
 
Exception information: 
    Exception type: BadImageFormatException 
    Exception message: Bad IL format. 
 
Request information: 
    Request URL: http://192.168.79.6/VaultService/VaultService.asmx 
    Request path: /VaultService/VaultService.asmx 
    User host address: 192.168.79.96 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
 
Thread information: 
    Thread ID: 5 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace:    at VaultServiceAPILib.VaultServiceAPISystem.GetLogEvent(String strEvent)
   at VaultService.Global.Session_Start(Object sender, EventArgs e)
   at System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e)
   at System.Web.SessionState.SessionStateModule.CompleteAcquireState()
   at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
   at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
Any ideas what causes this and how to resolve?

Thanks,
Hans

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

Re: Error connecting Vault service

Post by lbauer » Thu Jul 23, 2009 8:55 am

We'd like to see a copy of the latest Vault Server log. It's called sgvault.log and is in %windir%\temp\sgvault on the server machine. Send the log to support at sourcegear.com, Attn: Linda. Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply