Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. More of an HTMl question perhaps

More of an HTMl question perhaps

Scheduled Pinned Locked Moved ASP.NET
helpquestioncsharphtmlasp-net
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    taibo
    wrote on last edited by
    #1

    Hi everyone, I hope my problem is a simple one. I have developed an ASP.NET application that generates dynamic PDF reports and stores it on the server. The ASP.NET user has access to that directory. What I want to do is put an hyperlink to those reports from my ASP.NET website. However, whenever I try to do that it uses a file:///C:/reports/SomeDoc.pdf kind of link. This works fine locally, of course but no one on the intranet can access it through this address. How can I change it so that someone who has read access to that directory can access those reports. Thanks for any help you might give me. Sincerely, Tai

    G 1 Reply Last reply
    0
    • T taibo

      Hi everyone, I hope my problem is a simple one. I have developed an ASP.NET application that generates dynamic PDF reports and stores it on the server. The ASP.NET user has access to that directory. What I want to do is put an hyperlink to those reports from my ASP.NET website. However, whenever I try to do that it uses a file:///C:/reports/SomeDoc.pdf kind of link. This works fine locally, of course but no one on the intranet can access it through this address. How can I change it so that someone who has read access to that directory can access those reports. Thanks for any help you might give me. Sincerely, Tai

      G Offline
      G Offline
      Gerald Leslie Jones
      wrote on last edited by
      #2

      I think you should use relative path for referring the pdf docs.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups