I have some code that performs perfectly when running it locally and one a few other clients. But now I installed it on another clients and here I’m getting this error:
---------------------------
Microsoft Dynamics NAV Classic
---------------------------
This message is for C/AL programmers:
The call to member transformNodeToObject failed. msxml3.dll returned the following message:
Not implemented
The code I’m calling is the following:
XSLTDocument2.Data.CREATEINSTREAM(InStream);
CREATE(XSLDOM);
XSLDOM.load(InStream);
CREATE(XMLDOM);
XMLDOM.loadXML('<Dummy/>');
DataFile.CREATETEMPFILE;
TempFileName := DataFile.NAME;
DataFile.CLOSE;
DataFile.CREATE(TempFileName);
DataFile.CREATEOUTSTREAM(OutStream);
XMLDOM.transformNodeToObject(XSLDOM,OutStream);
DataFile.CLOSE;
ERASE(TempFileName);
The error occurs on the XMLDOM.transformNode line.
I have tried with different versions of the XMLDOM document fra version 3.0 to 6.0. The only difference I can really see to my setup and my customers is that I can also select MS XML version 4.0, whereas this option is not possible on the customers environment.