• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

Getting Page Not Found on a LNK created to Excel file

I need help creating a link to an excel file that will open excel from a link on a Internet Page.

i created a link to an excel file (XLSX) that is on our Internet. This was my first time so I'm not sure if I created it correctly. The target path I used was C:\inetpub\internet\...  and same for the shortcut - when I try the link I get a 'The Page cannot be found"  I also tried creating the link using "\\internet\internet\..." but that didn't work either.  

I verified the virtual directory exists in IIS as there are PDF files that open with no problem.

The link also works as I am able to open it from a mapped drive to the internet server.

If there is another way to open an excel file opening Excel from an Internet page or create a download button, I'm open to any options. Any help will be greatly appreciated.
1 Solution
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:

if the file is on your intranet ( I assume that when you say "internet" you really mean the intranet), then a link to the file should start with


If the link goes to "C:\<something>"  it will not work because it will refer to the user's C drive, not to the intranet site.

The path C:\inetpub\internet will only be valid on the server that hosts the web site, not for the user.

I suggest you open a browser, navigate to the directory or folder where the file resides and then copy the URL, which will start with "http://<yourServer>/<YourPath>/". Copy the URL of the directory or folder.  In Excel, create a hyperlink, paste the file path and add the document name to the file URL.

cheers, teylyn
goldieretrieverAuthor Commented:
Thank you for answering this so quickly. Much appreciated!!!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now