I have a asp.net web application that runs locally and opens docx files in IE8. However, after deploying to our production server (Win2003), I get a 403 error. The same code works for doc files, just not docx files. So, I’ve narrowed the problem down to the server but do not have good direction.
I read that it might be a MIME type issue, but I’m not exactly sure what to enter into the executable path in IIS 6.0. I do not have any MIME changes locally, but maybe I installed a patch of some sort…
Does anyone have direction or an easier way to do this on the server?
Could be the mime type. Also had problems with it, but fixed it with a download handler i wrote manually in an user control. Was on IIS7 though and i’m not sure if IIS6 supports DOCX. So try adding the MIME type on the server.
mime type:
application/vnd.openxmlformats-officedocument.wordprocessingml.document
And maybe this article helps to