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 34:         }
Line 35:         else
Line 36:             Response.Redirect("../PPP_OfficerLogin.aspx");
Line 37:     }
Line 38:     #endregion

Source File: e:\netdocs\PPP_Application\Home.aspx.cs    Line: 36

Stack Trace:


[HttpException (0x80004005): Cannot use a leading .. to exit above the top directory.]
   System.Web.Util.UrlPath.ReduceVirtualPath(String path) +11867669
   System.Web.Util.UrlPath.Reduce(String path) +63
   System.Web.HttpResponse.ApplyAppPathModifier(String virtualPath) +222
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent) +143
   PPP_CPSU_Home.Page_PreInit(Object sender, EventArgs e) in e:\netdocs\PPP_Application\Home.aspx.cs:36
   System.Web.UI.Page.OnPreInit(EventArgs e) +11690924
   System.Web.UI.Page.PerformPreInit() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +335


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4261.0