Options

Nas Error

B._Q.B._Q. Member Posts: 2
edited 2004-11-15 in Navision e-Commerce
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.

Comments

  • Options
    ta5ta5 Member Posts: 1,164
    Hi

    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
  • Options
    g_dreyerg_dreyer Member Posts: 123
    Have you tried re-compiling all your objects?

    Regards,
    Gus
  • Options
    fbfb Member Posts: 246
    There is some deep, dark mystery that breaks a line of code in Codeunit 99008518.

    The correct line reads:
    xmlSchemaCache.add('',Schema);
    
    When broken, it reads:
    xmlSchemaCache.get('',Schema);
    
    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
Sign In or Register to comment.