Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > BOOK: Professional Ajax ISBN: 978-0-471-77778-6
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Ajax ISBN: 978-0-471-77778-6
This is the forum to discuss the Wrox book Professional Ajax by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780471777786
Important: For the new 2nd edition of this book, please post here instead: [url="http://p2p.wrox.com/forum.asp?FORUM_ID=307"]http://p2p.wrox.com/forum.asp?FORUM_ID=307[/url]
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax ISBN: 978-0-471-77778-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
Thread Tools Display Modes
  #1 (permalink)  
Old June 1st, 2008, 05:55 PM
Registered User
Join Date: Jun 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default zxml - 500 internal server error

hi, i used iis 5.0 and asp. Always show same code: 5000 internal server error, why ????

my code:
function muestraSubCategorias2(IdCategoria) {
            var aleatorio=Math.random();

            var URLDestino="/Design2008/pintando/PintarComboSubCategorias.asp?Id_Categoria=" + escape(IdCategoria) + "&aleatorio=" + escape(aleatorio);
            document.getElementById("combosubcategorias").inne rHTML='';

            document.getElementById("combosubcategorias").inne rHTML = "<br><br><br><br><br><br><center><img src='/Design2008/images/34.gif' alt='cargando...' border='0'><br>Cargando informaci&oacute;n...</center>";

            var oXmlHttp = zXmlHttp.createRequest();
            oXmlHttp.open("get", URLDestino, true);
            oXmlHttp.onreadystatechange = function () {
                if (oXmlHttp.readyState == 4) {
                    if (oXmlHttp.status == 200) {
                        document.getElementById("combosubcategorias").inne rHTML = oXmlHttp.responseText;
                    } else {
                        document.getElementById("combosubcategorias").inne rHTML = oXmlHttp.statusText;


thanks, is very urgent!!!

Reply With Quote
  #2 (permalink)  
Old June 2nd, 2008, 02:17 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

If it's very urgent I offer paid support.
Obviously 500 means an error on your server so you need to see the actual URL (URLDestino but the real text) that your code constructs and then try pasting it into the browser address bar. Does that work?


Joe (Microsoft MVP - XML)
Reply With Quote

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
HTTP/1.1 500 Internal Server Error Dmitriy General .NET 0 February 26th, 2008 03:50 PM
Http/1.1 500 Internal Server Error abinashpatra ASP.NET 1.0 and 1.1 Basics 17 May 10th, 2007 02:06 AM
HTTP 500 - Internal server error helmsly BOOK: Beginning ASP 3.0 11 November 8th, 2006 02:15 AM
HTTP 500 Internal Server Error hosefo81 Beginning PHP 3 October 22nd, 2003 08:24 PM

All times are GMT -4. The time now is 11:52 AM.

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