Hello. Is there a known issue with ClientAutomation (SDK 10.2 and 10.4)and Windows 11 version 22H2? I have multiple Laserfiche windows client open, but it fails to get all client instances or detect if one of them is open. Thanks for your time.
Question
Question
Replies
Sam,
I will create a support case.
It stopped after the Win 1122H2 rollout.
The code is very basic. It fails on the .IsClientOpen method and also fails on the .GetAllClientInstances method too.
Thanks for your time.
Joe
Hi Joseph,
If the same ClientAutomation code works with the same version of the Laserfiche Windows Client in Windows 10 and/or pre-22H2 Windows 11 and/or Windows Server OSes in the same environment, that's suspicious and I'd recommend opening a support case. If you haven't checked those cases yet, do that first.
While Windows version/update related issues can and do occur with Laserfiche software in general, they are relatively rare and low on the probability list of root causes for a given issue. Was this ClientAutomation code in active usage prior to a Win11 22H2 update rollout after which it stopped working on all systems that received the update (or similar)?
If you can, it may also help to share the portion of the code that's failing to work as expected (get/detect client instances).
Sam,
Per support, here is the code. Support also requested credentials, but I am testing against my self-hosted system, so I am not sure why I have to provide that. The tracing files that Support requested has been uploaded to the case (236055).
Joe
using (ClientManager clientManager = new ClientManager()) { if (clientManager.IsClientOpen()) { Console.Write("The Laserfiche client is open."); Console.ReadKey(); } else { Console.Write("The Laserfiche client is closed."); Console.ReadKey(); } }
Sam,
I did a clean reinstall of Lf Windows Client and 10.4 SDK Runtime and that resolved the issue. I am not sure if a Windows Update caused this issue, but I wanted to pass it along. Thank you!
Glad to hear it's working now! Thanks for returning to provide the update.