cannot create an Automation Server pointing to mshtml.dll

Hi there,

I tried to “create” an Automation Server variable of type mshtml.dll and subtype HTMLXMLHttpRequest

Code:

IF ISCLEAR(HTML_Lib) THEN
IF ISSERVICETIER THEN
CREATE(HTML_Lib, TRUE, TRUE)
ELSE
CREATE(HTML_Lib, TRUE);

Creating the variable always leads to an massive error message:

This message is for C/AL programmers:

Cannot create an instance of Automation Server with CLSID ::lots of numbers

Error occurs on both RTC and Classic

I tried other Automation variables and they could be created well

dll is registered under Windows correctly

NAV 2009 R2, RTC

any idea?