When trying to use the ASP example web pages with external control, you will need to make sure that you have your IIS server configured to enable buffering otherwise you will get an error about trying to set the headers after the content is written.
The redirect command causes the headers to be rewritten and will cause the error unless buffering is enabled.