I created an ASP.NET Core 3 app using the VS project template. I am trying to profile it. I used the IIS Express option in dotTrace. Selected the applicationhost.config file. Selected the Site. Selected the Open URL checkbox and entered the url which I copied from the browser which was opened by VS earlier. Killed all IISExpress instances and click on Run.
Instead of the web page opening, I get this error:
HTTP Error 500.0 - ANCM In-Process Handler Load Failure
and this error from event log:
Application 'g:\inetpub\wwwroot\WebApplication2\WebApplication2\' failed to start. Exception message:
Executable was not found at 'g:\inetpub\wwwroot\WebApplication2\WebApplication2\%LAUNCHER_PATH%.exe'
I changed the site's virtual directory to the one having the dll's and I get the same problem.
It seems maybe there's a setting which is incorrect. How do I correct this problem?