Server Error in '/' Application.

Thread was being aborted.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Threading.ThreadAbortException: Thread was being aborted.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ThreadAbortException: Thread was being aborted.]
   System.Threading.Thread.AbortInternal() +0
   System.Threading.Thread.Abort(Object stateInfo) +46
   System.Web.HttpResponse.AbortCurrentThread() +67
   System.Web.HttpResponse.End() +32
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent) +446
   LensSeed.<Page_Load>d__5.MoveNext() in C:\Users\theer\source\repos\LensSeedDevOps\LensSeed\ProductDetail.aspx.cs:366
   System.Runtime.CompilerServices.<>c.<ThrowAsync>b__6_0(Object state) +54
   System.Web.<>c__DisplayClass22_0.<Post>b__0() +20
   System.Web.Util.SynchronizationHelper.SafeWrapCallback(Action action) +92


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0