Initialize Automation variable


I have created a automation variable and try to use it’s function but I am getting error of at run time.


This Automation variable has not been instantiated.

You can instantiate it by either creating or assigning it.

How can I assigned automation variable?

thanks in Advance

You have to CREATE an nstance of the Automation Server; for example:


See “C/SIDE Reference Guide” about further details.


Thanks Jörg,

Let me drill down you to my problem.

I am able to create object for COM dll registered in my system.

However, currently i am trying to use ‘LpiCom_6_0.dll’ i.e. payment gateway DLL from First Data. On create of this, it gives me following message,


Microsoft Dynamics NAV Classic

This message is for C/AL programmers:

Could not create an instance of the OLE control or Automation server identified by

GUID={1C0876A6-FF84-48E6-95BE-D3F21C883D14} 1.0:{E973A9DF-8CC6-4A66-802B-39703FD0620B}:‘LpiCom_6_0 1.0 Type Library’.LinkPointTxn.

Check that the OLE control or Automation server is correctly installed and registered.


However, i am able to use the same registered DLL from my other classic ASP version as well as .Net based application. But, this does not seems to be working with NAV 2009.

Can you help me solve this problem?



I have the same issue. Were you able to solve this? They have an alternative to using the dll which is to call the web service. The dll does not work on 64 bit environment. This dll worked on navision 3.7 for me though.

Thanks it works for me also. :slight_smile: