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. Hyperlinks becoming invalid

Hyperlinks becoming invalid

Scheduled Pinned Locked Moved ASP.NET
sysadminhelptutoriallearning
1 Posts 1 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.
  • Z Offline
    Z Offline
    Zee_Zee
    wrote on last edited by
    #1

    Dear All, I'm facing a strange problem here. I've added a user control in my application that is basically a Page Header for many of the pages of the application. This header just contains hyperlinks to other areas of the application with navigateURL specified as "../Directory/Page.aspx". During development and still after deployment if accessed by using the "localhost" instead of "MachineName" it works fine. But when I access the application using the url:" http://MachineName/AppName" the links on the user control become invalid and take the users to page saying "Resource cannot be found." When I observed the URL in the browser, it is as follows: 1) When accessed by using localhost: http://localhost/AppName/Store/ViewMIRForApproval.aspx 2) When accessed by using the machine name: http://mis-7/AppName/AppName/Store/ViewMIRForApproval.aspx Notice the occurence of AppName twice in the second case. Kindly suggest me how to get rid of this problem. With best regards, Zee_Zee

    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