Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!
If you have any problems with the registration process or your account login, please contact us.
|
|
|
Re: Timeout occurs when downloading files from the server
microsoft.public.internetexplorer.general
|
|

09-18-2008
|
|
|
|
Re: Timeout occurs when downloading files from the server
DPM wrote:
> Hi,
>
> I have an application whch downloads files from a server using WinINet.dll
> with HTTP.
> When download files such as 1mb in size it works fine.
> But when download files with size about 25mb a timeout occurs and returns
> error code 12002
>
> Following are set in IE programetically,
>
> DECLARE INTEGER InternetSetOption IN WININET.DLL INTEGER, INTEGER, INTEGER
> @, INTEGER
>
> dwTimeoutSecs = 600*1000
>
>
InternetSetOption(hIPSession,INTERNET_OPTION_CONNE CT_TIMEOUT,@dwTimeoutSecs,
4)
>
>
InternetSetOption(hIPSession,INTERNET_OPTION_DATA_ RECEIVE_TIMEOUT,@dwTimeOut
Secs,4)
>
>
InternetSetOption(hIPSession,INTERNET_OPTION_DATA_ SEND_TIMEOUT,@dwTimeOutSec
s,4)
>
> Is there anything more need to be set?
> or
> Is there any other method to over come this error ?
Forwarded via crosspost to microsoft.public.internetexplorer.general.
Always state your full Windows version (e.g., WinXP SP3; Vista SP1) when
posting to the newsgroup, please.
--
Vincenzo Di Russo
Microsoft® MVP - Most Valuable Professional since 2003
Windows Internet Explorer, Windows Desktop Experience & Security
My MVP Profile: https://mvp.support.microsoft.com/profile/Vincenzo
My Blog: http://blogs.dotnethell.it/vincent/
|
|

09-18-2008
|
|
|
|
Re: Timeout occurs when downloading files from the server
Hi, Vincenzo,
Please refer the following versions
Tried in WinXP SP2 with IE 6.0.2900.2180
Takes above 215 secs for the request to timeout
Also in WinXP SP2 with IE 7.0.5730.11 on another computer.
Takes above 240 secs for the request to timeout
"Vincenzo Di Russo [MVP]" <enzodirusso@xoom.it> wrote in message
news:eAVtwNWGJHA.4936@TK2MSFTNGP03.phx.gbl...
> DPM wrote:
>
>> Hi,
>>
>> I have an application whch downloads files from a server using
>> WinINet.dll
>> with HTTP.
>> When download files such as 1mb in size it works fine.
>> But when download files with size about 25mb a timeout occurs and returns
>> error code 12002
>>
>> Following are set in IE programetically,
>>
>> DECLARE INTEGER InternetSetOption IN WININET.DLL INTEGER, INTEGER,
>> INTEGER
>> @, INTEGER
>>
>> dwTimeoutSecs = 600*1000
>>
>>
> InternetSetOption(hIPSession,INTERNET_OPTION_CONNE CT_TIMEOUT,@dwTimeoutSecs,
> 4)
>>
>>
> InternetSetOption(hIPSession,INTERNET_OPTION_DATA_ RECEIVE_TIMEOUT,@dwTimeOut
> Secs,4)
>>
>>
> InternetSetOption(hIPSession,INTERNET_OPTION_DATA_ SEND_TIMEOUT,@dwTimeOutSec
> s,4)
>>
>> Is there anything more need to be set?
>> or
>> Is there any other method to over come this error ?
>
> Forwarded via crosspost to microsoft.public.internetexplorer.general.
>
> Always state your full Windows version (e.g., WinXP SP3; Vista SP1) when
> posting to the newsgroup, please.
>
> --
> Vincenzo Di Russo
> Microsoft® MVP - Most Valuable Professional since 2003
> Windows Internet Explorer, Windows Desktop Experience & Security
> My MVP Profile: https://mvp.support.microsoft.com/profile/Vincenzo
> My Blog: http://blogs.dotnethell.it/vincent/
>
|
|

09-18-2008
|
|
|
|
Re: Timeout occurs when downloading files from the server
"DPM" <aa@bb.cc> wrote in message
news:uCdS7mWGJHA.4056@TK2MSFTNGP05.phx.gbl...
> Hi, Vincenzo,
>
> Please refer the following versions
>
> Tried in WinXP SP2 with IE 6.0.2900.2180
> Takes above 215 secs for the request to timeout
>
> Also in WinXP SP2 with IE 7.0.5730.11 on another computer.
> Takes above 240 secs for the request to timeout
Any help here?
http://support.microsoft.com/?scid=k...1050&x=15&y=11
Good luck,
Donald Anadell
>
>
> "Vincenzo Di Russo [MVP]" <enzodirusso@xoom.it> wrote in message
> news:eAVtwNWGJHA.4936@TK2MSFTNGP03.phx.gbl...
>> DPM wrote:
>>
>>> Hi,
>>>
>>> I have an application whch downloads files from a server using
>>> WinINet.dll
>>> with HTTP.
>>> When download files such as 1mb in size it works fine.
>>> But when download files with size about 25mb a timeout occurs and
>>> returns
>>> error code 12002
>>>
>>> Following are set in IE programetically,
>>>
>>> DECLARE INTEGER InternetSetOption IN WININET.DLL INTEGER, INTEGER,
>>> INTEGER
>>> @, INTEGER
>>>
>>> dwTimeoutSecs = 600*1000
>>>
>>>
>> InternetSetOption(hIPSession,INTERNET_OPTION_CONNE CT_TIMEOUT,@dwTimeoutSecs,
>> 4)
>>>
>>>
>> InternetSetOption(hIPSession,INTERNET_OPTION_DATA_ RECEIVE_TIMEOUT,@dwTimeOut
>> Secs,4)
>>>
>>>
>> InternetSetOption(hIPSession,INTERNET_OPTION_DATA_ SEND_TIMEOUT,@dwTimeOutSec
>> s,4)
>>>
>>> Is there anything more need to be set?
>>> or
>>> Is there any other method to over come this error ?
>>
>> Forwarded via crosspost to microsoft.public.internetexplorer.general.
>>
>> Always state your full Windows version (e.g., WinXP SP3; Vista SP1) when
>> posting to the newsgroup, please.
>>
>> --
>> Vincenzo Di Russo
>> Microsoft® MVP - Most Valuable Professional since 2003
>> Windows Internet Explorer, Windows Desktop Experience & Security
>> My MVP Profile: https://mvp.support.microsoft.com/profile/Vincenzo
>> My Blog: http://blogs.dotnethell.it/vincent/
>>
>
>
|
|

09-19-2008
|
|
|
|
Re: Timeout occurs when downloading files from the server
Thanks.
"Donald Anadell" <danadell@nospamersmikrotec.com> wrote in message
news:uw6UVEZGJHA.3716@TK2MSFTNGP05.phx.gbl...
>
> "DPM" <aa@bb.cc> wrote in message
> news:uCdS7mWGJHA.4056@TK2MSFTNGP05.phx.gbl...
>> Hi, Vincenzo,
>>
>> Please refer the following versions
>>
>> Tried in WinXP SP2 with IE 6.0.2900.2180
>> Takes above 215 secs for the request to timeout
>>
>> Also in WinXP SP2 with IE 7.0.5730.11 on another computer.
>> Takes above 240 secs for the request to timeout
>
> Any help here?
>
> http://support.microsoft.com/?scid=k...1050&x=15&y=11
>
> Good luck,
>
> Donald Anadell
>
>
>>
>>
>> "Vincenzo Di Russo [MVP]" <enzodirusso@xoom.it> wrote in message
>> news:eAVtwNWGJHA.4936@TK2MSFTNGP03.phx.gbl...
>>> DPM wrote:
>>>
>>>> Hi,
>>>>
>>>> I have an application whch downloads files from a server using
>>>> WinINet.dll
>>>> with HTTP.
>>>> When download files such as 1mb in size it works fine.
>>>> But when download files with size about 25mb a timeout occurs and
>>>> returns
>>>> error code 12002
>>>>
>>>> Following are set in IE programetically,
>>>>
>>>> DECLARE INTEGER InternetSetOption IN WININET.DLL INTEGER, INTEGER,
>>>> INTEGER
>>>> @, INTEGER
>>>>
>>>> dwTimeoutSecs = 600*1000
>>>>
>>>>
>>> InternetSetOption(hIPSession,INTERNET_OPTION_CONNE CT_TIMEOUT,@dwTimeoutSecs,
>>> 4)
>>>>
>>>>
>>> InternetSetOption(hIPSession,INTERNET_OPTION_DATA_ RECEIVE_TIMEOUT,@dwTimeOut
>>> Secs,4)
>>>>
>>>>
>>> InternetSetOption(hIPSession,INTERNET_OPTION_DATA_ SEND_TIMEOUT,@dwTimeOutSec
>>> s,4)
>>>>
>>>> Is there anything more need to be set?
>>>> or
>>>> Is there any other method to over come this error ?
>>>
>>> Forwarded via crosspost to microsoft.public.internetexplorer.general.
>>>
>>> Always state your full Windows version (e.g., WinXP SP3; Vista SP1) when
>>> posting to the newsgroup, please.
>>>
>>> --
>>> Vincenzo Di Russo
>>> Microsoft® MVP - Most Valuable Professional since 2003
>>> Windows Internet Explorer, Windows Desktop Experience & Security
>>> My MVP Profile: https://mvp.support.microsoft.com/profile/Vincenzo
>>> My Blog: http://blogs.dotnethell.it/vincent/
>>>
>>
>>
>
>
>
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 13:32.
|
|