Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7367915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T03:35:52+00:00 2026-05-29T03:35:52+00:00

Microsoft JScript runtime error: Permission denied I’m getting this problem on this line: _this._xmlHttpRequest.onreadystatechange

  • 0
"Microsoft JScript runtime error: Permission denied"

I’m getting this problem on this line:

_this._xmlHttpRequest.onreadystatechange = Function.emptyMethod;

Basically what I’m doing is trying to loop through XML. Everything works fine, but the minute I call document.write(); it gives me this problem.

EDIT: I’m basically trying to achieve this: http://www.w3schools.com/xml/tryit.asp?filename=tryxml_display_table

But in my code, I’m not doing this:

xmlDoc=xmlhttp.responseXML;

I’m loading my XML like this instead (XML from a WCF web service):

xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async = false;
xmlDoc.loadXML(result.xml);

Any help seriously appreciated.

EDIT: Complete code:

function pageLoad() {
        ClassRegistrationServices.GetClassRegistrationReport(success, failure);
    }

    function success(result) {
        document.getElementById('txtValueContainer').value = result;
        xmlDoc = new ActiveXObject("Microsoft.XMLDom");
        xmlDoc.async = false;
        xmlDoc.loadXML(result.xml);

        var x = xmlDoc.getElementsByTagName("ClassRegistrationReport_Result");

        for (i = 0; i < x.length; i++) {
            testVar = x[i].getElementsByTagName("Class_Name")[0].childNodes[0].nodeValue;
        }
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T03:35:53+00:00Added an answer on May 29, 2026 at 3:35 am

    document#write is a HTML specific method as far as I know. You should probably go into detail on what you try to achieve.


    Link to MDN

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting a Microsoft JScript runtime error: Object expected on this line of code:
This script is getting Microsoft JScript runtime error: Object expected on If (out_params.bGranted) line.
This issue is that i am getting the error, Microsoft JScript runtime error: Object
I am getting a Microsoft JScript runtime error: 'Sys' is undefined error on one
I'm getting the error Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Error executing child request for
I am getting the following error: Microsoft JScript runtime error: 'Sys' is undefined While
ERROR: Microsoft JScript runtime error: Object doesn't support this property or method here is
Problem 1 Error: Microsoft JScript runtime error: '$.fn' is null or not an object
Can anyone have a solution for this issue Microsoft JScript runtime error: AjaxControlToolkit requires
I'm getting the dreaded Microsoft JScript runtime error: 'Sys' is undefined error while trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.