TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anna Hawks
NA
193
0
Cannot use a leading .. to exit above the top directory
Apr 17 2008 12:47 PM
I'm converting a VisualStudio 2003 solution to Visual Studio 2005 (using C#) and changing multiple hard-coded pages to use a Master Page. It all looks fine, but when I go to debug, I keep getting the above exception and it is pointing to this statement in my Global.asax.cs file:
protected void Application_AuthenticateRequest(Object sender, EventArgs e)
{
FIMGlobal.FIMGlobal.Application_AuthenticateRequest(Request,Response,"14","~/DeptDeposit2005/Main.aspx","Acess denied for Dept Deposit");
}
This is a reference to the following part of a dll:
public static void Application_AuthenticateRequest(System.Web.HttpRequest Request, System.Web.HttpResponse Response, string sAppID, string sURL, string sMsg)
Member of FIMGlobal.FIMGlobal
However, even when I go through and replace every last ../ with ~/ or even take it out completely (just for fun) or send it directly to the location of that page, it gives me the same error on the same line.
I've spent three hours looking through sites with that search to no avail. Doesn't matter where I move the folders on what machine, I get the same thing.
Any help would be GREATLY appreciated!
Reply
Answers (
2
)
64 bit
can I declare an array of overlays ??