Chances are, IIS is configured to disallow "parent paths," which are
relative paths that lead to a parent directory. This is often (and by
default in IIS 6 and above) configured to prevent specific attacks that use
parent paths to access system directories outside the web site. Using
root-relative paths or virtual paths is your best bet.
--
HTH,
Kevin Spencer
Microsoft MVP
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
"Mike" <Mi**@discussions.microsoft.comwrote in message
news:4A**********************************@microsof t.com...
Hi. I have a virtual directory named Vehicles which serves a website. An
.aspx page in the Vehicles directory needs to display an image from a
folder
existing one folder above Vehicles.
So I tried this. myImage.ImageURL = "../../image.gif"
And it's not working. Is this because when I use "../" it will only look
inside the Virtual Directory and not outside of it?
Thanks