Xmlhttp request is raising an Access Denied error

Use

CreateObject("MSXML2.ServerXMLHTTP.6.0") 

The standard request fired from a local machine forbids access to sites that aren’t trusted by IE. MSXML2.ServerXMLHTTP.6.0 is the server-side object, that doesn’t perform those checks.

Leave a Comment