Wrox Programmer Forums
BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6
This is the forum to discuss the Wrox book Professional Ajax, 2nd Edition by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780470109496
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 24th, 2009, 07:28 AM
Registered User
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default ajax error code 12030

Hello I have just bought this book and am anxious to use the zxml.js library.

I had some old ajax code that was working fine in IE (I don't know about other browsers). I replaced the code with new code using the zxml.js library.

I am now getting the 12030 status code returned from IE. It must have something to do with the zxml.js library that is causing this.

Could the authors please look into this?

My old code that was working fine accessed the XML object like this (it probably didn't get the latest version of it):
function getXmlHttpRequestObject() {
    if (window.XMLHttpRequest) {
	    return new XMLHttpRequest();
    } else if(window.ActiveXObject) {
	    return new ActiveXObject("Microsoft.XMLHTTP");
    } else {
	    alert('Status: Cound not create XmlHttpRequest Object.  Consider upgrading your browser.');
This may have something to do with the error. I'm not sure. Maybe it is an error in a newer xml request object from Microsoft? Or maybe it is an error in zxml.js.

Can someone please help? I really want to use the library, but I can't with this problem.

Oh one other thing...I only get this error when I do a "Post" request and I pass parameters. If I do a "get" request or a "post" request with no parameters then I don't get the error. The parameters I pass in are:
so I know they are in the right format.
Old November 25th, 2009, 12:19 AM
nzakas's Avatar
Wrox Author
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts

This is a Microsoft-specific error code. Please see the following documentation:

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
Old November 26th, 2009, 08:34 AM
Registered User
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks


Thanks for your reply.

I think the error was occurring before too (before I used zxml.js). What is the best way to handle this error when it occurs?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Professional Ajax' code jacksonchina Ajax 1 August 10th, 2009 04:57 AM
Ajax Error jezywrap C# 2005 0 July 16th, 2007 09:11 AM
IE6 status code 12030 rptodd1 BOOK: Professional Ajax ISBN: 978-0-471-77778-6 8 April 24th, 2007 04:27 PM
AJAX Error? dparsons Ajax 11 December 20th, 2006 09:29 AM
AJAX, javascript not executing html code niklas JSP Basics 0 August 17th, 2006 04:27 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.