Print Page | Close Window

Forum APIs

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=28877
Printed Date: 01 April 2026 at 8:27am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Forum APIs
Posted By: xrum
Subject: Forum APIs
Date Posted: 27 September 2010 at 9:28pm
here is my code:


<%

url = "http://dev.yy.net/forum/HttpAPI.asp?action=GetLastPostsByForumID&Username= xx&Password=zz&ForumID=2&MaxResults=5"
Dim xmlhttp
Set xmlhttp = Server.Createobject("MSXML2.ServerXMLHTTP") 
xmlhttp.setTimeouts 5000, 60000, 10000, 10000 
xmlhttp.Open "GET",,false 
xmlhttp.send ""
response.write(xmlhttp.responsetext) 
set xmlhttp = nothing 
%>

i get: 
msxml3.dll error '80072ee2'

The operation timed out 

but when i put my url in the browser, i get the xml just fine, please help



Replies:
Posted By: WebWiz-Bruce
Date Posted: 28 September 2010 at 8:11am
If you are trying to run this on a server it could be that port 80 outbound is blocked or is going through a proxy server.

You might also want to try a different way to create the MSXML Object as there are different versions that work in different ways:-

CreateObject("MSXML2.XMLHTTP.3.0")

CreateObject("MSXML2.XMLHTTP")  

CreateObject("Microsoft.XMLHTTP") 

The last one is less likely to cause an server error as I believe it uses an Active X Component in the IE browser on the server, so it is like IE making the connection. However, it has been many years since I looked in to the MS XML HTTP Component, but I am sure that the last is more compatible with various Windows servers.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net