You are viewing limited content. For full access, please sign in.

Question

Question

RepositoryAccess SDK getrepositories

asked on September 21, 2015
We have an issue with the following code:

Laserfiche.RepositoryAccess.Server myServ = new Laserfiche.RepositoryAccess.Server("servername");

Laserfiche.RepositoryAccess.RepositoryRegistrationCollection repoRegColl = myServ.GetRepositories();

throws exception:

An unhandled exception of type 'Laserfiche.RepositoryAccess.AccessDeniedException' occurred in Laserfiche.RepositoryAccess.dll

in detail of the exception:

The user account name or password is incorrect. [9010]

This code is working with SDK 9.1 but having the above issue with SDK 9.2. The server version is 9.1.1.486

Is this a bug on SDK 9.2 or SDK 9.2 is incompatible with Server 9.1?

 

Thank you

0 0

Replies

replied on September 21, 2015

Are you running this from a machine that is on the same domain as the LF server? RA 9.2 was modified to require authentication to get the repository list. We will look into improving the compatibility.

0 0
replied on September 21, 2015

Hi Robert,

 

Thanks for the answer. No they are not in the same domain, but even they are in the same domain I won't be able to use NT Authentication. Is it possible to use basic authentication(username, password) or no authentication? In addition, if I want to use RA 9.1 with Laserfiche Server 9.2, would I have the same issue? 

 

Thanks again.

0 0
replied on October 7, 2015

You can use RA 9.1 with Laserfiche Server 9.2 for now as RA 9.2 has an authentication requirement to get the repository list.

0 0
replied on October 7, 2015

Thanks for the info. Last question; is there a way to get the repository list by user? with this API:

Laserfiche.RepositoryAccess.Server myServ = new Laserfiche.RepositoryAccess.Server("servername", port, ticket);

Laserfiche.RepositoryAccess.RepositoryRegistrationCollection repoRegColl = myServ.GetRepositories();

 

I should be able to get the repository list but would that give me the user specific list or every repository on that server?

0 0
replied on April 8, 2020

Hi,

 

Does Server object exist in 10.2? I looked inside RA and can't find it there. I was wondering if anybody could show me its equivalent in 10.2. I would to retrieve the list or repositories in a given server with the use of Java. Anybody can help me? thanks.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.