>The HTML file gets created on the server and I would like to display it to the end user on the client machine.
>
OK, then what you're doing isn't going to work. Remember, when you hit the webpage all of the code you are running is actually running on the server (not the client). So running the document to open it up is actually occurring on the server. You would need to feed the results of this document out to the user via Response. Something like this:
Response.WriteFile(DocName)
One thing to keep in mind. If this file is a full HTML doc (ex. includes head/body sections), then your page shouldn't include a master page and you'll want to delete all of the HTML code beneath the Page Language line.