Async Problem
StuC
Posts: 2 New member
Hi,
I have an Asp.net MVC Action method which is returning async Task<ActionResult>.
When I run my website normally, everything works but when I'm profiling through Ants it returns the error below.
If I change it to just return an ActionResult, it works fine.
I'm using Ants 9.6.0.1059 and have "Profile with Async awareness" and "Async Mode" checked.
I'd appreciate any help you can give me, thanks.
Stu
I have an Asp.net MVC Action method which is returning async Task<ActionResult>.
When I run my website normally, everything works but when I'm profiling through Ants it returns the error below.
If I change it to just return an ActionResult, it works fine.
I'm using Ants 9.6.0.1059 and have "Profile with Async awareness" and "Async Mode" checked.
I'd appreciate any help you can give me, thanks.
Stu
Tagged:
Comments
Can I please first check:
- What version of the profiler are you using? (Help>About)
- Just to confirm--if you disable "Profile with Async awareness" and profile again, the error no longer comes up?
- What .NET framework does your application target?
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
I'm using Ants 9.6.0.1059 and targeting framework version: 4.5
I can confirm that if I disable "Profile with Async awareness", it does work
thanks
Stuart