This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > November 2004 > XMLHttp send hang under XP





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author XMLHttp send hang under XP
Yong

2004-11-17, 12:16 pm

Hi,
I tried to send data to server (ASP) by XMLHTTP under Windows XP. The send
method hanged up when the data size was 4092 or multiply of 4092-byte.
But the hang-up disappeared if I replaced
CreateObject("MSXML2.XMLHTTP.4.0") with CreateObject("MSXML2.XMLHTTP").
Please advise me what's going on.

By the way, the error seems only exist under Microsoft XP. No such error
appear when I tested under Windows 2000.

Thanks
Martin Honnen

2004-11-17, 12:16 pm



Yong wrote:


> I tried to send data to server (ASP) by XMLHTTP under Windows XP. The send
> method hanged up when the data size was 4092 or multiply of 4092-byte.
> But the hang-up disappeared if I replaced
> CreateObject("MSXML2.XMLHTTP.4.0") with CreateObject("MSXML2.XMLHTTP").
> Please advise me what's going on.


I am not sure what is wrong but from ASP you should use the
ServerXMLHTTP object e.g.
CreateObject("Msxml2.ServerXMLHTTP.4.0"0
instead of XMLHTTP.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Microsoft

2004-11-24, 11:16 pm

I have something that is almost the opposite.
CreateObject("MSXML2.ServerXMLHTTP") works on my Server2K machine.
CreateObject("MSXML2.ServerXMLHTTP.4.0") gets an error message of "Access
Denied"
I have not been able to find the problem. Both work well on my XP Pro
development machine. Any help would be appreciated.


"Yong" <Yong@discussions.microsoft.com> wrote in message
news:0DC5EBE6-64CE-4723-8F80-99A461978DB4@microsoft.com...
> Hi,
> I tried to send data to server (ASP) by XMLHTTP under Windows XP. The
> send
> method hanged up when the data size was 4092 or multiply of 4092-byte.
> But the hang-up disappeared if I replaced
> CreateObject("MSXML2.XMLHTTP.4.0") with CreateObject("MSXML2.XMLHTTP").
> Please advise me what's going on.
>
> By the way, the error seems only exist under Microsoft XP. No such error
> appear when I tested under Windows 2000.
>
> Thanks



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews