cannot use a leading .. to exit above the top directory.
cannot use a leading .. to exit above the top directory.
When I try to access pages from the Members directory I get the error: cannot use a leading .. to exit above the top directory. Seems like a pretty straight forward error message, but I am having trouble pinning down where it is happening. Has anybody experienced this error before?
Re: cannot use a leading .. to exit above the top directory.
Better make use of ~ for root and then access pages from there. For example from members directory if you are going for some page on root for example Contact.aspx. Simply make use of ~/ContactUs.aspx or if in some different directory then ~/directoryname/page.aspx.
Re: cannot use a leading .. to exit above the top directory.
Thanks Mazhar,
I just figured it out. In the db I had the images set with a leading ../. Changing that to a ~ fixed the problem. It was a tough one to hunt down as I thought it had to do with the register of a control or something.
I just figured it out. In the db I had the images set with a leading ../. Changing that to a ~ fixed the problem. It was a tough one to hunt down as I thought it had to do with the register of a control or something.