New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended WebForms ViewState tests & fixes #605

merged 11 commits into from Nov 4, 2013

Fix path problems for pages that are in a subfolder.

  • Loading branch information...
nycdotnet committed Nov 2, 2013
commit 36c66300c0fdc1a5131f8b3d128f8016fd645f51
@@ -88,7 +88,7 @@ void Application_Error(object sender, EventArgs e)
if (exc.InnerException != null)
exc = new Exception(exc.InnerException.Message);
@@ -18,7 +18,7 @@ public static void LogException(Exception exc, string source)
// Include logic for logging exceptions
// Get the absolute path to the log file
string logFile = "App_Data/ErrorLog.txt";
string logFile = "~/App_Data/ErrorLog.txt";
logFile = HttpContext.Current.Server.MapPath(logFile);
// Open the log file for append and write the log
ProTip! Use n and p to navigate between commits in a pull request.