To avoid this error, replace :
Response.End with HttpContext.Current.ApplicationInstance.CompleteRequest();
Response.Redirect(url) with Response.Redirect(url, false)
Server.Transfert with Server.Execute
For details, consult the microsoft kb : http://support.microsoft.com/kb/312629/EN-US/