Hey folks, We upgraded two of our production boxes to .NET 4.5 over the weekend. Immediately after that upgrade, we started receiving numerous errors like the following:
It seemed to be primarily on our Web Forms pages, and specifically on posts. We're using 4.6.2 and the 4.6.2 Web extension. Any ideas on what may be causing this? We had to downgrade to .NET 4.0 in order to resolve the issue, and since we have some code that relies on the async/await functionality in 4.5 in feature branches, we need a resolution to this ASAP. Thanks. Edit: It seems like it's happening intermittently on any page where the code initiates a Response.Redirect(). So, for example, with:
...and the following method:
...I can almost 100% of the time reproduce it. The same goes for any other pages in which we have Response.Redirect going on. There doesn't even necessarily need to be any DataObjects code anywhere on the page that's posting back, but there always is DataObjects code on the page we're redirecting to. |
Hi, I'm suspecting that behavior of
Could you please try this pattern and tell me whether the issue is gone? If not, I'd appreciate a sample that reproduces the problem or access to your solution (if it is possible). We tried to reproduce the issue in our environment but failed. Thanks in advance. |