Server Error in '/' Application.

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

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Cannot use a leading .. to exit above the top directory.

Source Error:


Line 48:                 }
Line 49:                 else
Line 50:                     Response.Redirect("../Dwarka_Market.aspx");
Line 51:             }
Line 52:             else

Source File: d:\inetpub\vhosts\sparkvfx.com\dwarkamarket.com\a1.aspx.cs    Line: 50

Stack Trace:


[HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.]
   System.Web.Util.UrlPath.ReduceVirtualPath(String path) +8973527
   System.Web.Util.UrlPath.Reduce(String path) +52
   System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) +214
   System.Web.HttpResponse.ApplyAppPathModifier(String virtualPath) +157
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse) +107
   System.Web.HttpResponse.Redirect(String url) +6
   a1.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\sparkvfx.com\dwarkamarket.com\a1.aspx.cs:50
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175