Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to download under IIS 7
Message
From
17/09/2013 13:24:53
 
 
To
17/09/2013 11:48:22
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01583406
Message ID:
01583442
Views:
41
>I have applied the same trick and it worked for me. But, as I said, I do not like that.
>
>This is what I have now to complete the transmit request:
>
>
>        ' Make sure to end this process as we do not want any additional process to occur
>        ' This no longer works in IIS 7
>        'oProcess.oResponse.End()
>
>        ' Because the above no longer works, we have to use Flush()
>        oProcess.oResponse.Flush()
>
>
>Any of you knows if this can have an impact on the way this process works? Basically, if there is an End() and a Flush(), it is because they are meant to do something different.

I'm rusty on this but I thought Response.End() was only meant to abort a response - i.e. usually when there is an error condition.
You could try CompleteRequest() which, I think, should allow the buffer to be flushed. No harm in using Response.Flush() first tho.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform