Wrox Programmer Forums
|
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 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 June 1st, 2008, 05:55 PM
Registered User
 
Join Date: Jun 2008
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);
            alert(URLDestino);
            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;
                    }
                }
            };
            oXmlHttp.send(null);



    }


thanks, is very urgent!!!

 
Old June 2nd, 2008, 02:17 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

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)





Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP/1.1 500 Internal Server Error Dmitriy General .NET 0 February 26th, 2008 04: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 03:15 AM
HTTP 500 Internal Server Error hosefo81 Beginning PHP 3 October 22nd, 2003 08:24 PM





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