dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: link to PDF does not work

  1. #1
    Join Date
    Oct 2001
    Posts
    80

    link to PDF does not work

    Hi,

    In my local intranet site, I have a list of links to several PDF files, wich are on the server locally. But when I click them nothing happens. I can do Save As... and copy the file somewhere, so the link is OK. THis link is in form of <a href=file:///

    I can right click on the webform, choose "view source" and place it in a html file, open it with IE and all the links work.

    So I'm assuming it's either IIS or .NET that needs to be configured.

    Someone any idea's how to fix this

  2. #2
    Join Date
    Jun 2006
    Location
    Minnesota
    Posts
    257

    Re: link to PDF does not work

    It needs to be IIS. Make a virtual directory of the path of the pdf and then don't do a file:/// but rather http://server/ip/virtualDirectory/pdfname and they should work fine.

  3. #3
    Join Date
    Oct 2001
    Posts
    80

    Re: link to PDF does not work

    Well thanks FishDawg65! It worked.

    I remeber you helped me also with something a few months back!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)