automation not initiated

navisionerinnavisionerin Member Posts: 161
Hello,
I am getting an error when trying to open word from NAV. Its saying automation hasnt been instantiated, see below. Not really sure how to fix it, anyone got any idea?

Microsoft Dynamics 365 Business Central

The automation variable has not been instantiated.
OK

Best Answer

  • txerifftxeriff Member Posts: 501
    Answer ✓
    automations can be painful sometimes.

    Check the windows user if you have all the permissions etc. Run NAV as administrator (right click, run as admin)
    Initialising the automation is as simple as:

    IF ISCLEAR(lADOConnection) THEN
    CREATE(lADOConnection,TRUE,TRUE);

Answers

Sign In or Register to comment.