HttpResponse httpResponse = Response; Error: cannot implicitly convert type 'system.web.httpResponseBase' to 'System.Web.HttpResponse' so this will not work at all. I had to change it to: HttpResponse httpResponse = HttpContext.ApplicationInstance.Response;
↧