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.
goldieretrieverAsked:
Who is Participating?
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Connect With a Mentor Microsoft MVP ExcelCommented:
Hello,

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

http://<yourServer>/<YourPath>/<yourDocument>

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
0
 
goldieretrieverAuthor Commented:
Thank you for answering this so quickly. Much appreciated!!!
0
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.

All Courses

From novice to tech pro — start learning today.