are you using a standard codeunit here? If yes then which one? You can also try this:
Oben the variable-list in which you automation server is listed. Click on the assist-button in the subtype-column. In the form showing up now there should be a code like this “{00020813-0000-0000-C000-000000000046} 1.2” in the “Automation Server”-field. Copy that string an try to google (or bing ;-)) it, most of the time you’ll get results from which you can recognize which automation server is missing.
Actually I am trying to integrate RFID with NAV, so the codeunit comes from microsoft, its actually a modification of codeunit 1-Application management.and the variable list does not list the automation server.
the automation-variable must be listed somewhere, either in the global variable or in the local variables which can differ for each function. In your case the automation server is this one: ‘Microsoft XML, v6.0’, which is related to this dll “C:\Windows\System32\msxml6.dll”. Does this help?
Ok, thats a good point. Did you really install NAV or did you just copy the files to your hard disk? Normally a proper installation should install everything NAV needs including this dll…otherwise you could try to to google for the dll which could result in this ms-download:
I have installed both the msxml6.msi and the SDK.msi, still the selected type library error is popping up, The variables causing this are ApplicationXML and DataXML which are all local to the Launchapp function. any more suggestions?
Huuuh! that is a sigh of relief, finally after re-installing the client and installing MSXMLV4, the codeunid is compiling successfully, Tanks to all Jan, M.Ali and IMRAN.
but just when I thought I am through, there is an error on a card I had modified (card 30-Item Card) that goes:
when the function is called, the minimum number of parameters should be used.
For example
MyFunc(…,…,…)
ROUND(MyVar)
ROUND(MyVar,0.05)
what could be the cause since the card cannot also compile?