Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 327389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:23:51+00:00 2026-05-12T09:23:51+00:00

We have a web application that displays a variety of document types to the

  • 0

We have a web application that displays a variety of document types to the user. When a user tries to view a docx file, they get a dialog box asking them if they want to save the file “DisplayDocument.aspx” if they are using Office 2003.

I can reproduce this behavior and I’ve tried installing the Word Viewer and the File Type converter (in both orders). I’ve checked and that file type is associated with Word on my local box and the docx MIME type is loaded on the server.

The current solutions seem to be to resubmit the document as a pdf or upgrade Office. Neither of which are convenient for the users.

I am imagining that part of the problem is that our security policy does not allow any files to be opened in the browser and that they have to be downloaded to the users local machine before they are opened so the virus protection can scan them, but I can’t see why it would be affecting the docx and not the doc files.

Note: If the user has Office 2007 this is not an issue.

Any help is appreciated. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T09:23:52+00:00Added an answer on May 12, 2026 at 9:23 am

    You can use a HTTP Header to force it to download instead of attempting to open the file. That way, when it asks to save it, the file has the correct content type and can be saved as a docx file. See http://msdn.microsoft.com/en-us/library/ms524327.aspx

    I would add the following headers:

    Content-type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
    Content-disposition: attachment; filename=Filename.docx
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an web application that displays employee birthdays for the current month in
I have a web application build on PHP that (does some processing and) displays
I have a Web Application that displays a Map Service that is in NAD
I have a java web application that generates and displays graphical pictures based upon
I have a web application that displays datetime stamps on every page, for example:
within my asp.net vb web application i have a form that displays data in
Right now, I have a simple web application that displays the entries of a
I have an application that displays a dialog when the user needs to enter
I'm trying to implement Search Engine. I have web application that displays list of
I have an application that pulls information from a web server and displays it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.