Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Open Files using MIME and Office Compatability Pack

Open Files using MIME and Office Compatability Pack

Scheduled Pinned Locked Moved ASP.NET
sysadmintestingbeta-testingquestion
3 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gauthee
    wrote on last edited by
    #1

    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

    S S 2 Replies Last reply
    0
    • G 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

      S Offline
      S Offline
      ScottM1
      wrote on last edited by
      #2

      I had problems with the Office PIA's when trying to open a docx using Word 2003 with the compatability pack, the document just displayed garbage. I don't think there is a solution, I ended up just saving all of the documents in 2003 format.

      1 Reply Last reply
      0
      • G 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

        S Offline
        S Offline
        sivaddrahcir
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups