I'm dynamically creating word content in asp.net by setting contentType and adding the content-disposition and having issues. Back in the asp days we would do a response.flush and a response.end at the end which seemed to fix the problems.

In .net, where in a page class would you put a response.end? If you put it at the end of page_load then the rendering events don't happen so NO content is written out. Response obj doesn't exist in page_unload....Any deas?

Regarding the original error, if the user selects Save it works but if they select "Open" the browser shows a dns error???