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!

    Requires Free Membership to View

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: