Object Moved to here
I am getting the following error when I do a Response.Redirect from an aspx page to another aspx page. I am using the following code in my global.asax Application_Error event to redirect to an error page.
Session["Error"] = Server.GetLastError();
However I am not able to go to the Error Page and am getting this error. I searched the web and somewhere I got an instruction to add the following lines to the code
Response.Expires = 0;
Response.Buffer = true;
I added those lines but still am getting this error. I am getting the error only in the production site and not in my development environment.
Can anyone please help me get out of this urgent issue.
Thanking you in advance
Find your solution here...