ASP
--
Questions
--
Followers
Top Experts
XMLHTTP Get Issue
I am trying to gather XML data from another server and it worked fine just over a month ago. The server techs on the other end must have put some security measures into place and now I can no longer access the XML from my classic .asp page. The reason I say they put security measures in place is because they want to "whitelist" the users IP addresses so they can view the XML. I have a URL that works when I type it in directly to my browser address bar - I can view the XML (only after being whitelisted). However when I use that same URL and put it in my code:
objXMLHTTP.open "GET",strURL,false (where strURL is the http://...)
objXMLHTTP.send
I get the following:
msxml3.dll error '80072efd'
A connection with the server could not be established
If I change the false to true instead, I get:
msxml3.dll error '8000000a'
The data necessary to complete this operation is not yet available.
From these error messages, would it be wrong to surmise that there is still an issue on the other end where they have not given security clearance for my app to initiate the GET commands? I've been waiting for almost 2 months for a resolution to the import that used to work just fine. Suddenly it quits working and we changed nothing. They whitelisted the users IPs and it still does not work even though the users can run the URL direct in their browser and see the XML. They say it's my problem, but I cannot fix what was not broken until they made changes on their end.
Any/all suggestions are welcome. TIA
objXMLHTTP.open "GET",strURL,false (where strURL is the http://...)
objXMLHTTP.send
I get the following:
msxml3.dll error '80072efd'
A connection with the server could not be established
If I change the false to true instead, I get:
msxml3.dll error '8000000a'
The data necessary to complete this operation is not yet available.
From these error messages, would it be wrong to surmise that there is still an issue on the other end where they have not given security clearance for my app to initiate the GET commands? I've been waiting for almost 2 months for a resolution to the import that used to work just fine. Suddenly it quits working and we changed nothing. They whitelisted the users IPs and it still does not work even though the users can run the URL direct in their browser and see the XML. They say it's my problem, but I cannot fix what was not broken until they made changes on their end.
Any/all suggestions are welcome. TIA
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Maybe they are using cookies to whitelist you.
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Can try to load any other page data using your code and see if it works well... This will give you assurance that code is correct, issue is only with specific URL.. may be security or whatever else..
Thanks!






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
ASP
--
Questions
--
Followers
Top Experts
Active Server Pages (ASP) is Microsoft’s first server-side engine for dynamic web pages. ASP’s support of the Component Object Model (COM) enables it to access and use compiled libraries such as DLLs. It has been superseded by ASP.NET, but will be supported by Internet Information Services (IIS) through at least 2022.