Error calling connection Init in Client API

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

Moderator: SourceGear

Post Reply
joel
Posts: 38
Joined: Mon Feb 02, 2004 5:18 pm

Error calling connection Init in Client API

Post by joel » Thu Feb 26, 2004 10:46 am

I'm getting a ConfigurationException when trying to call Init on a client instance object (prior to Logging in):

Error loading XML file:
c:\winnt\microsoft.net\framework\v1.0.3705\config\machine.config

Now, my automation object is making this call across the network from my machine to the Vault server. I checked the security settings for the framework and opened up full permissions in the Internet and Intranet zones on both machines.

I figure this is just a configuration issue and not a Vault issue. Any ideas?

Thanks,
Joel

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Thu Feb 26, 2004 11:05 am

I've never seen this error thrown when Init is called. ClientInstance.Init calls VaultConnection.Init, which creates the web service objects ("new ClientService.VaultService()"). It may be something in the framework that gets triggered when any class that derives from System.Web.Services.Protocols.SoapHttpClientProtocol (which ClientService.VaultService does) is instantiated.
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

Post Reply