Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to download under IIS 7
Message
De
17/09/2013 13:24:53
 
 
À
17/09/2013 11:48:22
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01583406
Message ID:
01583442
Vues:
40
>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.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform