I developped a .net client with MIP SDK 2021 R2. This client works well in many system but in one with a new server 2023 R2 doesn’t work and give an unusedexception3 error when I call Environment.Login Instruction. I tried using a new library but my application works only if I use it standalone but if I generate a dll user library the exception returns.
Can the Smart Client running on the same PC login using the same user?
What is the exception you get? It could be a first step in understanding what you experience. (You could so a ToString.)
There might be additional information in the MIP SDK logs (“[C:\ProgramData\Milestone\MIPSDK\MIP[yyyymmdd].log](file:C:/ProgramData/Milestone/MIPSDK/MIP[yyyymmdd].log)”
We are not sure we understand what you mean by generating a dll user library. Please explain what you do and how it fails.
I am sorry but we are still not sure about the exception. So, in order to understand the exception, can you please do __unusedException3.ToString() and show us the exception? Because the name of the exception doesn’t tell us what is going wrong.
Also, can you please provide MIP SDK logs? MIP SDK log’s path is here - “[C:\ProgramData\Milestone\MIPSDK\MIP[yyyymmdd].log](file:C:/ProgramData/Milestone/MIPSDK/MIP[yyyymmdd].log)”
Unfortunately I am not able to debug because the system is on board of a ship,
In this moment Milestone technicians are testing with a program that I provided them, if the problem is not resolved I will try to organize a debug session. Thanks