I got a following error when
Response.End();
is execute.
Its look like a threading error but unable to handle it.Any body know about the error and how to fix it?.I am using VS2008.Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Why do you need to explicitly call Response.End()? You can call HttpContext.Current.ApplicationInstance.CompleteRequest to get around this issue, but you may want to consider refactoring your code to not prematurely end the response.