Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Getting Page Not Found on a LNK created to Excel file

Posted on 2013-11-15
2
Medium Priority
?
312 Views
Last Modified: 2013-11-15
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.
0
Comment
Question by:goldieretriever
2 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 2000 total points
ID: 39650558
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
 

Author Closing Comment

by:goldieretriever
ID: 39652710
Thank you for answering this so quickly. Much appreciated!!!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question