Opening Word Document through Web page

Discussion in 'JavaScript' started by sysniper, Apr 9, 2010.

  1. #1
    Hello all,

    this is my first post with this forum so bear with me. Basically we have switched our web server and are having an issue with one of our web pages loading a word document.

    On our old server it was working fine. Upon clicking one of the buttons on the page, you are prompted to fill in a few boxes that will then populate fields in a word template. The code definitely hasn't changed because the files were copied directly from the old computer to the new one. As of right now I have no security on this site/page and any file path's have been updated or haven't changed at all.

    Anyways, the page loads fine and the buttons open the boxes which will populate the word document, but upon completing the boxes, nothing happens. In IE i get an error which appears in the lower left hand corner, and the page doesn't do anything. In firefox the page changes to a "500 - Internal Server Error".

    The new computer is running Windows 7 pro with the most recent updates. The old computer was Running Windows xp home with service pack 3. Any explanation or help at all is much appreciated, I'm really not sure what to do since i really don't think it's a code error. Any help at all could really save my day. I can provide the code upon request,

    thanks in advance,

    Joey
     
    sysniper, Apr 9, 2010 IP
  2. pixelz

    pixelz Greenhorn

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    the following url show a great exmaple that I'm was used before:

     
    pixelz, Apr 10, 2010 IP
  3. sysniper

    sysniper Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Pixelz,

    thanks for your reply. I have had a look at that site, and seems to be a good example. However, like I said in my original post, the code should be fine since it's been untouched so their should be no problems with it. Perhaps this thread is better off in another location? Thanks,

    Joey
     
    sysniper, Apr 12, 2010 IP