>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.....