all groups > inetserver asp components > june 2005 >
You're in the

inetserver asp components

group:

WinHttp is not working anymore


WinHttp is not working anymore Catalin Maftei
6/21/2005 1:52:04 PM
inetserver asp components:
Hello

I have a web script that use WinHTTP object that was working perfect until i
install SharePoint and Project Sever.
After i Install this severs the script keep fail with error:
WinHttp.WinHttpRequest error '80072ee2'

The operation timed out

I uninstall the SharePoint and Project servers and still not working.
I'm disperate.

Please, pls pls pls help me

--
RE: WinHttp is not working anymore JitGanguly
6/21/2005 2:21:04 PM
Try using settimeout

xmlhttp.settimeout 5000,6000,10000,10000

it is resolve, connect,
send, receive in miliseconds


[quoted text, click to view]
RE: WinHttp is not working anymore Catalin Maftei
6/21/2005 2:29:10 PM
Hi,
thx for your reply but i think it not the the issue here.
I think for some reason the Windows block winhttp request.
here is the code i use:
<%
set ht1 = Server.CreateObject("WinHttp.WinHttpRequest.5")
ht1.Open "GET", "http://www.yahoo.com"
ht1.SetTimeouts 5000,6000,10000,10000
ht1.Send

if Err.number <> 0 then
Response.Clear()
Session("error") = "Error in : " & Request.ServerVariables("script_name")&
"?" & Request.ServerVariables("query_string") & "<br>" & " Error description
: " & err.Description & "<br>Line: 5"
Response.Write Session("error")
Response.End()
end if

ht1.WaitForResponse()
response.write ht1.ResponseText
%>

Please pls pls pls pls help

--
Maf


[quoted text, click to view]
AddThis Social Bookmark Button