Open Files using MIME and Office Compatability Pack
-
Hello, In our application we have to open various Office file such as word, excel etc. We are sending the files to the client using response, content type etc. When sending the content we are specifying the content type i.e. MIME type accordingly. Now, recently the content is of new Office 2007 type i.e. docx, docm, xlsx, xlsm, pptx. The content is sent accordinlgy from the server with the new MIME types, however we are unable to open the files in the client machines. We tested the same on client machines that has Office 2007 installed and everything works as expected. Now we are testing the same on client machines that have only Office 2007 compatability pack installed. But this way it does not work and is providing options, find, save and cancel instead of open, save and cancel. Can we open files using the compatbility pack alone? Are we missing something, please let us know.
gauthee
-
Hello, In our application we have to open various Office file such as word, excel etc. We are sending the files to the client using response, content type etc. When sending the content we are specifying the content type i.e. MIME type accordingly. Now, recently the content is of new Office 2007 type i.e. docx, docm, xlsx, xlsm, pptx. The content is sent accordinlgy from the server with the new MIME types, however we are unable to open the files in the client machines. We tested the same on client machines that has Office 2007 installed and everything works as expected. Now we are testing the same on client machines that have only Office 2007 compatability pack installed. But this way it does not work and is providing options, find, save and cancel instead of open, save and cancel. Can we open files using the compatbility pack alone? Are we missing something, please let us know.
gauthee
-
Hello, In our application we have to open various Office file such as word, excel etc. We are sending the files to the client using response, content type etc. When sending the content we are specifying the content type i.e. MIME type accordingly. Now, recently the content is of new Office 2007 type i.e. docx, docm, xlsx, xlsm, pptx. The content is sent accordinlgy from the server with the new MIME types, however we are unable to open the files in the client machines. We tested the same on client machines that has Office 2007 installed and everything works as expected. Now we are testing the same on client machines that have only Office 2007 compatability pack installed. But this way it does not work and is providing options, find, save and cancel instead of open, save and cancel. Can we open files using the compatbility pack alone? Are we missing something, please let us know.
gauthee
By what you described, it does sound like the problem is on the client end of things. It may be that the compatibility pack doesn't set up the MIME types in the client registry, not sure (HKEY_CLASSES_ROOT\MIME\Database\Content Type). Are we talking IE on the client end here? Do you get the same behavior in other browsers? Check out the [Handling MIME Types in Internet Explorer](<a href=)[^]"> MSDN article for more info on that. There may be some things you can investigate here. Unfortunately, any solution is likely to require extra work by your clients, which is often something that you can't make a requirement.
Blog: http://windowsclientdevelopment.spaces.live.com FAQs: http://windowspresentationfoundation.wikispaces.com http://windowsmobile.wikispaces.com http://vsto.wikispaces.com