ServerXMLHTTP

eti (archive)

Usenet Archive
Joined
Sep 23, 2003
Messages
5
Reaction score
0
Hello,

We use the following configuration on our development environment:
Server - win2k spk4
Local Computer - win2k spk3

We use the following code on the server to access a page on the local
IIS :

Set objSrvHTTP = Server.CreateObject ("MSXML2.ServerXMLHTTP.4.0") strUrl = "http://" & strLocalComputer & "/maoz/ShowRecNum.asp" objSrvHTTP.open "GET", strUrl , false objSrvHTTP.send lngRecNum= objSrvHTTP.responseText set objSrvHTTP = nothing

When strLocalComputer contains the local computer name, we get the requested page. But if we use the IP address of the local computer we get the error :

msxml4.dll (0x80072EE7)
The server name or address could not be resolved.

We manage to run the URL with the IP address from a browser on the server but not from a browser on the local computer.

Any ideas ?

Thanks,

Eti
 

Aaron Bertrand - MVP

Usenet Archive
Joined
Apr 1, 2003
Messages
1,637
Reaction score
0
If name works, use name???

Sounds like a network resolution issue. Do you have a loopback adapter installed? Does the box have multiple nics? Are you using the internal or external interface?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,049
Messages
3,104,245
Members
248,133
Latest member
DujonT

Latest Threads

Top