Article ID: 247318 - View products that this article applies to.
This article was previously published under Q247318
When using Response.Redirect in an Active Server Page (ASP) to redirect the client to a Microsoft Word document or a Microsoft Excel spreadsheet, the corresponding Microsoft Office application does not display the correct file that it was redirected to.
Microsoft Office 97 applications open files on a Web server as read-only. Microsoft Office 2000 applications try to open files that are located on a Web server read-write. If the user that is logged into the client's machine is an administrator on the Web server, the Office applications try to open the file read-write and parse and display the static HTML in the .ASP file to the client. If the user is not in the administrators group on the Web server, the user is prompted for authentication and the client is redirected to the file as expected.
As a workaround, you can use META tags to redirect the client to the Office file. For example:
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Steps to Reproduce Behavior
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/225234/EN-US/ )OFF2000: Link to Office Document Produces Password Prompt
(http://support.microsoft.com/kb/266263/EN-US/ )BUG: Word 2000 and Excel 2000 Display ASP Source When Using MIME Type To Stream Data