Ask the Expert

Getting error when trying to open a Word doc from a hyperlink on Web page

I am developing a Web application in Perl. The function is to upload and download documents. The logic is like this: Once I upload a file that is a Word document, the Web page will display a hyperlink to that document. On click, it has to open the document in Word. The problem is that the Word application opens, but displays the error dialog box (Q224016) "the document name or path is not valid." Sometimes it displays garbage text as well. Please help!
I don't know much about Perl, but it sounds like the link you are generating is not accessible by Word. You'll have to build the link so it's an FTP link or HTTP download so the browser cannot find it.

This was first published in August 2002

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.