Nas Error

B._Q.
Member Posts: 2
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.
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
-
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 helps0 -
Have you tried re-compiling all your objects?
Regards,
Gus0 -
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;8850440
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions