unable to open a .xlsx or .docx file from an iis website

I'm hosting out a directory of word and excel files using IIS and I'm able to open all the .doc and xls files but I can't open any of the new .xlsx or docx files that are in there.  It seems to me it may actually be a browser issue becasue that is how I'm accessing the files and when I click on the .xlsx files I get a page can't be found when I know it is in that directory and working.  
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You need to add mime-types to IIS for MS Office 2007 Documents by the sound of it.
You could do it for the individual extensions you want using the below steps:
  1. Get to the Internet Management snap-in
  2. Right click Web Sites and select Properties
  3. Select HTTP Headers
  4. Select Mime Types
  5. Enter a new extension and the appropriate mime type.
  6. Repeat as needed for each extension.
Alternativly you can stop IIS and edit the metabase XML file (C:\WINDOWS\system32\inetsrv\MetaBase.xml) using a text editor. Search for the <IIsMimeMap Location="/LM/MimeMap" ⬦> element and append the attached lines to the MimeMap attribute.
Hope this helps!


Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cleisethAuthor Commented:
Thanks for the info that worked great!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.