A call to MSXML.XMLHTTPRequestClass.send failed with this message: The download of the specified resource has failed.

Hi Everyone,

This is the very common exception that anyone can face during the call of any external service or using automation objects in NAV that required 'Microsoft XML'. 

Code that giving me the issue:

The issue occurred when this method is called: locautXmlHttp.send

A very simple solution for this error is just to check the given web service is up and running and install MSXML 4.0 Service Pack 2 (Microsoft XML Core Services) to the server.

You can directly download this setup from this URL: https://www.microsoft.com/en-us/download/details.aspx?id=19662 

or just download the following setup directly.

msxml.msi (5.04 mb)

After installing the issue will be resolved.

Stay Tuned!

Add comment