Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Servers > Internet Information Services
| Search | Today's Posts | Mark Forums Read
Internet Information Services Limit this to IIS questions and posts. ASP/ASP.NET questions should still go in the ASP/ASP.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Internet Information Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 26th, 2008, 04:43 PM
Registered User
Join Date: Sep 2008
Location: , , India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default IIS7: Can't display downloaded file


I'm saving Word document files to a SQL Server. On the download
Word doesn't start and instead I get a message saying:

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

An invalid character was found in text content. Error processing resource 'http://localhost/ims/DocViewer.aspx?id=5'.

What could be going on? I am setting the MIME type to "application/vnd.ms-word" and I am able to download and view Excel and PDF files.

Just Word files are not displaying.

Reply With Quote
  #2 (permalink)  
Old September 26th, 2008, 06:37 PM
Registered User
Join Date: Sep 2008
Location: , , India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Sorted out. Something messed up the file associations and were
preventing the correct association from being saved. A reboot later, I could correct the association and now all is well.

Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista/IIS7 Setup hyarmion BOOK: Beginning ASP 3.0 0 November 3rd, 2008 01:33 AM
IIS7 and Vista makintosh BOOK: Beginning ASP 3.0 2 January 31st, 2008 06:06 PM
IIS7, Front Page Server Extentions, Vista Bob Bedell ASP.NET 2.0 Professional 10 September 20th, 2007 12:21 PM
How to display .tif file, .pdf file and .jpg file phuong171 ASP.NET 1.0 and 1.1 Basics 1 March 13th, 2007 07:29 AM
accessibility coding error in downloaded file hillcountry BOOK: Accessible XHTML and CSS Web Sites: Problem Design Solution 0 November 21st, 2006 05:37 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.