Hello everyone,
I'm currently developing a program using Interop.dll for a client,
And I'm encountering issues with a piece of code that has been working reliably in the past.
private static string ProgID = "AucEasylectric.AucApplication.31";
public static EBAPP GetEB()
{
var type = Type.GetTypeFromProgID(ProgID);
dynamic dynamicEB = Activator.CreateInstance(type);
return (EBAPP)dynamicEB;
}
I'm receiving two different error messages (attached), which occur inconsistently — depending on the PC or even varying by time.
(For example: yesterday, PC #1 had the error while PC #2 worked fine; today, both PC #1 and #2 are failing.)
I'm using EB 2024 and Visual Studio 2022.
Since nothing is logged on the server side, it's difficult to determine the root cause.
Would anyone be able to assist with this issue?