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 and save Word doc to server???

Open and save Word doc to server???

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadminhelpquestion
4 Posts 2 Posters 0 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.
  • J Offline
    J Offline
    JimFeng
    wrote on last edited by
    #1

    I have a asp.net 2.0 web application that needs to open a word template from server, user change something, and then save back to server. Is it possible? Any help is appreciated.

    N 1 Reply Last reply
    0
    • J JimFeng

      I have a asp.net 2.0 web application that needs to open a word template from server, user change something, and then save back to server. Is it possible? Any help is appreciated.

      N Offline
      N Offline
      NeverHeardOfMe
      wrote on last edited by
      #2

      It is possible using Office Interop, but before you do I'd suggest you look at what Microsof themselves have to say on the subject: 1) licensing: Microsoft require Office licenses for any server wanting to do this: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q243006#kb2[^] 2) (more importantly) there are technical limitations to running this kind of thing on the web: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2[^] If you scroll down to where it says "Problems using Automation of Office server-side" in para 2 it says (in bold!): "This fact alone makes running Office Applications from a server-side environment risky and unsupported." So all in all, not a good idea.... There are 3-rd party components you can buy which will do the job - do a Google search. cheers Phil

      J 1 Reply Last reply
      0
      • N NeverHeardOfMe

        It is possible using Office Interop, but before you do I'd suggest you look at what Microsof themselves have to say on the subject: 1) licensing: Microsoft require Office licenses for any server wanting to do this: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q243006#kb2[^] 2) (more importantly) there are technical limitations to running this kind of thing on the web: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2[^] If you scroll down to where it says "Problems using Automation of Office server-side" in para 2 it says (in bold!): "This fact alone makes running Office Applications from a server-side environment risky and unsupported." So all in all, not a good idea.... There are 3-rd party components you can buy which will do the job - do a Google search. cheers Phil

        J Offline
        J Offline
        JimFeng
        wrote on last edited by
        #3

        Thanks for the reply. What I understand is that if using Office Interop Office needs to be installed on web server. Even so it still can not save changed word document back to server. Do you have any suggestion for the 3rd party component.

        N 1 Reply Last reply
        0
        • J JimFeng

          Thanks for the reply. What I understand is that if using Office Interop Office needs to be installed on web server. Even so it still can not save changed word document back to server. Do you have any suggestion for the 3rd party component.

          N Offline
          N Offline
          NeverHeardOfMe
          wrote on last edited by
          #4

          Are we allowed to "advertise" here..? :-) Oh well.. I have used some of the Aspose products and found them very good: http://www.aspose.com/Default.aspx[^] There are others (http://officewriter.softartisans.com/officewriter-86.aspx[^] for one) but I have no experience of them. cheers P

          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