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

Question

Question

Session.ApplicationId Property

SDK
asked on October 22, 2018 Show version history

Hello

 

Are there examples of how to use the Session.ApplicationID property of the SDK to make simultaneous connections through an application?

Can someone help me?

 

Thank you.

 

 

0 0

Answer

SELECTED ANSWER
replied on October 23, 2018

Marco,

First make sure that in LFDS, you have updated the registered Laserfiche Server application instance and properly assigned it the keyed concurrent licenses. Then generate a new license for the Laserfiche Server and make sure to replace the license file appropriately.

Now you'll need to specify users that will be logging in from the SDK and make sure that these are not named users and have proper access to the repository.

Then in your SDK application, you'd use code like

string serverName = "server", repoName = "repository";
string username = "user", password = "password";

// log into the repository
RepositoryRegistration repository = new RepositoryRegistration(serverName, repoName);
Session session = new Session();
session.ApplicationId = "ID for Keyed Licenses";
session.LogIn(username, password, repository);
1 0

Replies

replied on October 23, 2018

Hello

 

I have the code

 

	Dim objRepositorio = New RepositoryRegistration("server", "repository")
		Dim objSession = New Session

		objSession.ApplicationId = "xxxxxxxxxxxxxx"
		objSession.LogIn(objRepositorio)

but get the error 'Access denied'

 

Can someone help me?

 

Thanks

 

0 0
replied on October 23, 2018

Hi Alexander

 

I have the new license file with the key fullGuid and the not name user,  now the message error is "No se pudo iniciar sesión debido a que el numero de sesiones ha alcanzado su limite de licencias o la cuenta de usuario ha alcanzado su limite de sesiones  o no se ha asignado licencia de usuario designado a la cuenta de usuario. [9030]"

 

Thanks for your help.

 

0 0
replied on October 23, 2018

Please open a support case for this matter. Make sure to indicate which customer this is regarding and provide your code or at least let us know the ApplicationId value you're using. I'd like to make sure that you're using the correct value. Also provide us with a copy of the new Laserfiche Server license file that you've generated and are now using in their environment.

Regards

0 0
replied on October 23, 2018

Ok, I will open a support case, thank you.

Regards.

 

0 0
replied on December 17, 2018

Hey Alex,

 

We have a customer with a similar license that you helped us with at the end of October.

 

In the Support case notes you stated "Then you would create a repository user (or multiple repository users) that do not have any license type associated"

 

Would this mean, they create them in the LF Admin Console, for the Repository they are connecting to via the SKD, and do not assign them a license, but just permissions or does this user get created in LFDS?

 

Thanks,

 

Jeff Curtis

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

Sign in to reply to this post.