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

Question

Question

RepositoryAccess.SessionLocale in windows form c#

SDK
asked on September 12, 2022

hi there...
I made a program using C Sharp windows form and VS 2017 with Laserfiche SDK
And when I set up my execution file after publishing
and running it on the other client's computer windows 10, the following message appears

 

 

 

1 0

Replies

replied on September 12, 2022

Can you get the call stack for the exception? That would help narrow down the problem.

2 0
replied on September 12, 2022

thanks my friend 

I will do that but my problem is when I copy my program to another client it shows this message ...?
but on my pc, it is ok to run and connects and setup exe
my problem on another pc
any dll files needed to copy another pc client

0 0
replied on September 12, 2022

You should use the redistributable SDK installer when installing your program on other machines. The error you are seeing is most likely due to not having one of those files.

2 0
replied on September 12, 2022

Can you explain more?

0 0
replied on September 12, 2022 Show version history

Hi Ahmed,

What Brian means is that the SDK libraries, such as Laserfiche.RepositoryAccess, probably aren't installed on the other machines and this can be done using the redistributable SDK installer that comes with the SDK.

When you're running it locally, it is likely referencing copies already present on your development machine, but unless your program is configured to include local copies in the build, they will need to be pre-installed on the target machine.

 

An alternative would be to configure your application to build with local copies of the libraries you're referencing via the reference properties.

1 0
replied on September 12, 2022

der Jason Smith I am grateful to you.
all  dll is local true but there is a new error message

 

0 0
replied on September 12, 2022 Show version history

It's really hard to say without more information. I'd recommend you follow Brian's suggestion and use the SDK runtime installer.

The installer will be a lot more thorough, and when you include local copies you also need to worry about other things like architecture (for example, you might get an error like this when an 64-bit process is trying to utilize a 32-bit/x86 version of a dll).

At the very least, if it runs correctly after the runtime installer then that would help narrow down the issue.

2 0
replied on September 12, 2022

der Jason Smith

what do you mean by "use the SDK runtime installer"

Can I make a small explanation...

please!!

0 0
replied on September 12, 2022

The SDK Runtime Installer is something that is included with the SDK installation application and is explained in more detail in the Readme page.

The "SDK Package" installs the libraries, documentation, etc. needed for development of the integrations.

The "SDK Runtime" only installs the dependencies needed to run an SDK application.

3 0
replied on September 12, 2022

any answer, pleaseheart

0 0
replied on September 12, 2022

Dear Sir

I have this only can you help me

0 0
replied on September 12, 2022

How did you install the SDK?

1 0
replied on September 12, 2022

I found in this path after installing the Laserfiche server and workflow

 

""C:\Windows\Microsoft.NET\assembly\GAC_MSIL""

0 0
replied on September 12, 2022

Unless you have Business or Enterprise self-hosted subscription licensing, the Laserfiche SDK is an optional add-on.

I would recommend reaching out to your VAR to determine whether or not your organization is licensed to use the SDK.

If so, there is a package you can download that has all the documentation and resources required to develop custom integrations.

0 0
replied on September 12, 2022

any answer, pleaseheart

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

Sign in to reply to this post.