Article ID: 323448 - Last Review: January 6, 2006 - Revision: 3.3 You receive an error message when you click a link to an Office document in Visio 2002This article was previously published under Q323448 On This PageSYMPTOMS
When you click a hyperlink on a Web page that you made from a Microsoft Visio drawing, you may receive the following error message in your browser window:
The page cannot be found HTTP 404 - File not found
CAUSE
This behavior may occur if the hyperlink refers to a Microsoft Office document as its destination and uses an absolute path to the Office document. When you save a Visio drawing that contains hyperlinks to Office documents as a Web page, the hyperlinks use absolute paths instead of relative paths. As a result, when you access the page from the Web server, the hyperlinks may not refer to the correct location to the Office documents, and you experience the behavior that is described in the "Symptoms" section of this article.
RESOLUTION
To resolve this problem, use one of the following methods, as appropriate to your situation.
Method 1
Method 2Change the absolute paths in the hyperlinks to relative paths after you save the Visio drawing as a Web page.MORE INFORMATION
An absolute path in a hyperlink refers to the destination document by using its complete Uniform Resource Locator (URL). This includes the protocol, Web server, the path to the file, and the file name.
A relative path in a hyperlink uses a URL that is relative to the URL of the Web page that the hyperlink is contained in. For example, the C:\My Documents\Reports.htm file has absolute and relative hyperlinks to C:\My Documents\Departments\Marketing.doc. The absolute hyperlink uses C:\My Documents\Departments\Marketing.doc as its path. The relative hyperlink uses Departments\Marketing.doc as its path. Use relative paths in hyperlinks if you want to move or copy your HTML files to another location, such as a Web server.
| Article Translations
|
Back to the top
