Automation variable not instantiated

chandrurecchandrurec Member Posts: 560
edited 2013-11-25 in NAV Three Tier
Hi all,

I have created the dll and tlb file and I have registered the tlb file in NAV Application server.

When I try to access the automation variable from client end , I am getting a error automation variable not getting instatiated.

But I have instantiated the automation variable using the code as follows.

Clear(AutoVar);
create(AutoVar,true,true)
Autovar.open

If anyone knows apart from registering the tlb file is it necessary I need to register the dll file in NAV Application server.

In this I have configured 3 tier architecture.

Thanks in advance.

Regards,
chandru.

Comments

  • mmperis8mmperis8 Member Posts: 19
    Hi chandru

    If you are using RTC Client, it's easier to use the DLL with a DotNet variable instead a automation. To use DotNet variable you only have to copy the dll at the Add-Ins folder of the NAV Service, and you can use it at any computer without registering the dll.

    If you want to use the Automation you have to register on every computer, because the instance is created at client computer when you put TRUE at client side parameter of CREATE statement.

    Regards.
Sign In or Register to comment.