I cannot get my redirect page to actually redirect. Here is my code for the global.asax page.
Protected Sub Application_Error(ByVal Sender as Object, ByVal e as EventArgs)
dim strError as string
strError = Server.GetLastError().ToString()
Response.Redirect("defaultError.aspx?Msg=" & Server.UrlEncode(strError))
And here is the code for my defaultError.aspx page.
label1.Text = Request.QueryString(Msg)
What am i doing wrong, it just doesnt even try to bring across the strError and display it. the page wont even load, but it used to.