Indexing ImageVault 4 content

Vote:
 

Hi,

At the moment we're trying to index content available in ImageVault in a scheduled job.
We're hitting an exception when trying to create the Client instance in the following way: 

client = ClientFactory.GetSdkClient();

The exception is:
"An exception of type 'ImageVault.Common.ImageVaultException' occurred in ImageVault.EPiServer.dll but was not handled in user code

Additional information: Cannot determine SiteUrl for the EPiServer site. It's too early in the setup to do it"

What would be the way to go on this?

Regards,

Robert.

#122736
Jun 11, 2015 12:20
Vote:
 
ClientFactory.GetCurrentUserClient()

Seems to work. At least I can use CreateChannel and use the IMediaService.

#122748
Jun 11, 2015 13:56
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.