Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 24th, 2009, 06: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):
Code:
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:
oXmlHttp.send('t=1');
so I know they are in the right format.
Reply With Quote
  #2 (permalink)  
Old November 24th, 2009, 11:19 PM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Location: Peabody, MA, USA.
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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

http://support.microsoft.com/default...b;EN-US;193625
__________________
Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/
Reply With Quote
  #3 (permalink)  
Old November 26th, 2009, 07:34 AM
Registered User
 
Join Date: Nov 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks

Hello,

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?

Thanks!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 08:29 AM
AJAX, javascript not executing html code niklas JSP Basics 0 August 17th, 2006 04:27 AM



All times are GMT -4. The time now is 06:30 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.