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. Virtual Directory

Virtual Directory

Scheduled Pinned Locked Moved ASP.NET
helpsysadminquestion
3 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.
  • A Offline
    A Offline
    Anzy
    wrote on last edited by
    #1

    Hi, I have a directory (eg. C:/links) that contains a list of .lnk files that I'd like to create a virtual directory for on a 2003 MS server. On my localhost the virtual directory I created worked perfectly. However, on the production box (a 2003 MS server), after creating a virtual directory and trying to access the links through a web browser, all the links display "Page Cannot Found" error. Could anyone help at all !?!?!? :sigh: Thxs... Anzyyyy

    S 1 Reply Last reply
    0
    • A Anzy

      Hi, I have a directory (eg. C:/links) that contains a list of .lnk files that I'd like to create a virtual directory for on a 2003 MS server. On my localhost the virtual directory I created worked perfectly. However, on the production box (a 2003 MS server), after creating a virtual directory and trying to access the links through a web browser, all the links display "Page Cannot Found" error. Could anyone help at all !?!?!? :sigh: Thxs... Anzyyyy

      S Offline
      S Offline
      Steven Campbell
      wrote on last edited by
      #2

      I don't know what a .lnk file is, but... On 2003, IIS will not return a file unless it has a MIME type associated with it. You can go to the properties of the web site (or maybe the virtual directory) in IIS, and add a MIME type for it there. As I said, I do not know what .lnk files are, so I do not know what an appropriate MIME type might be.

      A 1 Reply Last reply
      0
      • S Steven Campbell

        I don't know what a .lnk file is, but... On 2003, IIS will not return a file unless it has a MIME type associated with it. You can go to the properties of the web site (or maybe the virtual directory) in IIS, and add a MIME type for it there. As I said, I do not know what .lnk files are, so I do not know what an appropriate MIME type might be.

        A Offline
        A Offline
        Anzy
        wrote on last edited by
        #3

        Hi Steven, Thanks for your help. I've tried your method and the links are now working. REALLY appreciated it. Anzy

        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