Dear all,
Our biztalk server has been working for 6 month, until now we
have a problem with the NAS, the error message in the application log is :
This message is for C/AL programmers:
Could not invoke the member add. The OLE control or Automation server returned the following message:
The number of elements provided is different from the number of arguments accepted by the method or property.
We have installed the NAS again, but this doesn't help.
We have compile all navision objects, but this doesn't help.
Could any one help us, thanks in advance.
0
Comments
I had a similiar error. As far as I remeber, the error was the wrong version of a DLL (cgreqclient.dll) on the Server running NAS. Try to compile all (or the relevant) objects **on the Server running NAS**. If its this error, the object would not compile.
If this doesn't help, try to identify the offending line either using debug-mode of NAS, or with trace messages, or starting the relevant Codeunits from a normal client.
Hope this helps
Regards,
Gus
The correct line reads: When broken, it reads: The 'get' method only expects a single parameter -- therefore the error.
The solution is to change the 'get' back to 'add' and recompile the codeunit.
Reference: https://mbs.microsoft.com/knowledgebase ... -us;885044