Categories
Dynamics NAV Microsoft

You cannot create an Automation object on Microsoft Dynamics NAV Server. You must create it on a client computer.

—————————
Microsoft Dynamics NAV Development Environment
—————————
You cannot create an Automation object “AutomationVariable” on Microsoft Dynamics NAV Server. You must create it on a client computer.

—————————
OK
—————————

You cannot create an Automation object {AutomationVariable} on Microsoft Dynamics NAV Server. You must create it on a client computer

Solution:
Replace

CREATE(AutomationVariable)

with

CREATE(AutomationVariable,FALSE,TRUE)

Did my solution solve your problem? Leave a reply.

Categories
Dynamics NAV Microsoft

Streams cannot be used with client-side invoked automation objects

Microsoft Dynamics NAV
—————————

Streams cannot be used with client-side invoked automation objects.
—————————
OK
—————————

Streams cannot be used with client-side invoked automation objects

Solution:
Use DotNET DataTypes instead of Automation.

For example:
An Automation Subtype ‘Microsoft XML, v6.0’.DOMDocument can be changed with
a DotNet Subtype System.Xml.XmlDocument

Did my solution solve your problem? Leave a reply.