Home All Groups Group Topic Archive Search About

xmlHTTP not getting the response



Author
9 Mar 2006 1:14 PM
as4532
Hi all,
    I am trying to access information present in a page ( e.g.
info.dll?about) using xmlHTTP on the server side. I get the result in a

variable and parse through the content using string functions in
VBScript. This was working absolutely fine till yesterday, today i get
the result of xmlHTTP request as "MZ?". This issue is seen only when
requesting one or two DLLs, other DLLs work fine. Anyone knows what
could be the issue here? This is the code snippet. Any help
appreciated, thanks.

Code (in an ASP page) :
<script language="vbscript" runat="server">
...
dim content
Set oXML = Server.CreateObject("Microsoft.XMLHTTP")
oXML.open "GET","http://www.somesite.com/info.dll?about", false
oXML.send
content=oXML.responseText
response.write(content)
</script>


Output:
MZ?

Author
10 Mar 2006 4:18 AM
Dave Anderson
as4***@drexel.edu wrote:
> This was working absolutely fine till yesterday, today i get
> the result of xmlHTTP request as "MZ?". This issue is seen
> only when requesting one or two DLLs, other DLLs work fine.
> Anyone knows what could be the issue here?
> ...
> Set oXML = Server.CreateObject("Microsoft.XMLHTTP")

While I am not sure this is related, I think it is worth mentioning that
there is a SERVER version of that object that is thread-safe:
http://msdn.microsoft.com/library/en-us/xmlsdk/html/97884cf6-5fdf-4b1f-8273-73c0e098b8f3.asp

Note that the version you are using does not prevent bleeding across
sessions.


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Author
10 Mar 2006 8:40 AM
Anthony Jones
<as4***@drexel.edu> wrote in message
Show quote
news:1141910084.018576.160810@u72g2000cwu.googlegroups.com...
> Hi all,
>     I am trying to access information present in a page ( e.g.
> info.dll?about) using xmlHTTP on the server side. I get the result in a
>
> variable and parse through the content using string functions in
> VBScript. This was working absolutely fine till yesterday, today i get
> the result of xmlHTTP request as "MZ?". This issue is seen only when
> requesting one or two DLLs, other DLLs work fine. Anyone knows what
> could be the issue here? This is the code snippet. Any help
> appreciated, thanks.
>
> Code (in an ASP page) :
> <script language="vbscript" runat="server">
> ..
> dim content
> Set oXML = Server.CreateObject("Microsoft.XMLHTTP")
> oXML.open "GET","http://www.somesite.com/info.dll?about", false
> oXML.send
> content=oXML.responseText
> response.write(content)
> </script>
>
>
> Output:
> MZ?
>

These DLLs are ISAPI extensions?

The directories that they are stored in allow executables?

It looks as though the content of the DLL is being sent (the first two bytes
in a dll are MZ).

Anthony.

AddThis Social Bookmark Button