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. Cannot use a leading .. to exit above the top directory

Cannot use a leading .. to exit above the top directory

Scheduled Pinned Locked Moved ASP.NET
helpquestion
5 Posts 3 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.
  • M Offline
    M Offline
    MHASSANF
    wrote on last edited by
    #1

    I have big problem with this error .. my site is Ok in my local PC but when i upload the site i see this error in the some page that use ../images in the src of images and when i remove the ../ the problem is solved :confused: how can i solve it ???? with thanks

    E E 2 Replies Last reply
    0
    • M MHASSANF

      I have big problem with this error .. my site is Ok in my local PC but when i upload the site i see this error in the some page that use ../images in the src of images and when i remove the ../ the problem is solved :confused: how can i solve it ???? with thanks

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      try using ~/ instead of ../

      M 1 Reply Last reply
      0
      • E eyeseetee

        try using ~/ instead of ../

        M Offline
        M Offline
        MHASSANF
        wrote on last edited by
        #3

        ok but i can't use ~ in my HTML code ( my master Page ) in the src of my tags

        E 1 Reply Last reply
        0
        • M MHASSANF

          ok but i can't use ~ in my HTML code ( my master Page ) in the src of my tags

          E Offline
          E Offline
          eyeseetee
          wrote on last edited by
          #4

          why not?

          1 Reply Last reply
          0
          • M MHASSANF

            I have big problem with this error .. my site is Ok in my local PC but when i upload the site i see this error in the some page that use ../images in the src of images and when i remove the ../ the problem is solved :confused: how can i solve it ???? with thanks

            E Offline
            E Offline
            Expert Coming
            wrote on last edited by
            #5

            MHASSANF wrote:

            when i remove the ../ the problem is solved how can i solve it ????

            If you solved it, why do you need to ask how to solve it?

            The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

            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