Forum Discussion

james_massa's avatar
james_massa
Occasional Contributor
11 years ago

msxml6.dll access is denied

The line:



var VersionXML = Sys["OleObject"]("Msxml2.DOMDocument.6.0");



will fail with an error that says:



msxml6.dll access is denied



How do I work around this? I am attempting to read data from an XML file written by our application during the test run.

3 Replies

  • james_massa's avatar
    james_massa
    Occasional Contributor
    That is almost exactly what I am trying to do, but no ... it doesn't work. This is the first time I have tried to read a XML file with TC.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi James,


     


    I've googled this error and found some IE options that may affect this behavior. Please check them:


    1. Enable the Tools-->Internet Options-->Advanced--> Security --> Allow active contents to run in files option.


    2. Check whether IE has the permission to access ActiveX components. 


    Tools--> Internet Options--> Custom Level (check the settings related to the ActiveX controls)