ClientInstance.SetActiveRepositoryID() Never Returns

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

Moderator: SourceGear

Post Reply
hobie
Posts: 13
Joined: Wed Jan 12, 2005 8:37 am

ClientInstance.SetActiveRepositoryID() Never Returns

Post by hobie » Mon Jan 24, 2005 1:31 pm

Hi.

I have recently coded up a simple ASP.NET app
that uses the Vault Client API. On my dev box,
I am able to extract files from our repository.
However, when I deployed this to the production
web server candidate, my app hangs because the

ClientInstance.SetActiveRepositoryID()

call never returns. I can provide more info if
needed, but what situation would cause a Vault
API call to never return (a greater problem--with
the API IMO).

Thanks!
hobie

hobie
Posts: 13
Joined: Wed Jan 12, 2005 8:37 am

Re: ClientInstance.SetActiveRepositoryID() Never Returns

Post by hobie » Mon Jan 24, 2005 2:07 pm

hobie wrote:Hi.

I have recently coded up a simple ASP.NET app
that uses the Vault Client API. On my dev box,
I am able to extract files from our repository.
However, when I deployed this to the production
web server candidate, my app hangs because the

ClientInstance.SetActiveRepositoryID()

call never returns. I can provide more info if
needed, but what situation would cause a Vault
API call to never return (a greater problem--with
the API IMO).

Thanks!
hobie
Me again :wink:

My ASP.NET client app is running on Win2k3 Server,
and it's using the Vault API v2.0.6.

My successful run on my own machine is on Win2K Pro,
FWIW.

hobie

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Mon Jan 24, 2005 3:22 pm

That's an odd place for it to hang. Are you connecting to the same server and as the same user (both windows user and vault user)?

hobie
Posts: 13
Joined: Wed Jan 12, 2005 8:37 am

Post by hobie » Mon Jan 24, 2005 3:32 pm

jeremy_sg wrote:That's an odd place for it to hang. Are you connecting to the same server and as the same user (both windows user and vault user)?
I don't know if this answers your question fully,
but I am using the same Windows user account
on both dev box and production web server (same
domain acct. on both), and have the same Vault
user settings on both (hard-coded in app).

Oh, I meant WinXP Pro is the OS on my dev box,
not Win2k.

thanks for the help!
hobie

hobie
Posts: 13
Joined: Wed Jan 12, 2005 8:37 am

Post by hobie » Mon Jan 24, 2005 3:32 pm

jeremy_sg wrote:That's an odd place for it to hang. Are you connecting to the same server and as the same user (both windows user and vault user)?
I don't know if this answers your question fully,
but I am using the same Windows user account
on both dev box and production web server (same
domain acct. on both), and have the same Vault
user settings on both (hard-coded in app).

Oh, I meant WinXP Pro is the OS on my dev box,
not Win2k.

thanks for the help!
hobie

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Mon Jan 24, 2005 3:40 pm

Try to set up identity impersonation in your web application's web.config to your domain account.

Post Reply