Automation type problem!!!!!

Angelo
Angelo Member Posts: 180
Hello team Nav,

I have built 2 dll file. I make a codeunit with define 2 variable(A and B). A for running A.dll and B for running B.dll. my codes be like this:

create(A)
...processing
clear(A)

create(B)
...processing
clear(B)

Processing in A run successfully but processing in B not run Unsuccessfully. There is no error. I try to close Navision and open navision again and B can run successfully. Is Navision can not run 2 Automation server directly?If can,what should I do to make both automation server can run successfully?


regards,
Angelo

Comments

  • Saint-Sage
    Saint-Sage Member Posts: 92
    If you just run A, can you run it multipul times? If you just run B, can you run it multipul times?

    I had this same problem when trying to work with an Excel, it turns out I was creating sub automations off of a parent automation when I did not need to. I was also not doing my IF CLEAR CREATE, ELSE logic incorrectly.

    Please post your automation creation/destruction code and answer the above problems and maybe that will shed more light on the problem.

    No one loves you like the one who created you...