visual studio – EventSource Error: ERROR: Exception during EventCounter cpu-usage metricProvider callback: Attempted to divide by zero


I was trying to debug using visual studio. It does opened a new tab on my browser but nothing came up (I saw that it was still loading). On output window in visual studio:

EventSource Error: ERROR: Exception during EventCounter cpu-usage metricProvider callback: Attempted to divide by zero.
The thread '[Thread Destroyed]' (13472) has exited with code 0 (0x0).

This went about several times. Until the debug stopped prematurely and at the end of the output window was:

The program '[9144] iisexpress.exe' has exited with code 0 (0x0).

When I check the new tab, it shows an error

HTTP Error 500.37 - ASP.NET Core app failed to start within startup time limit

As a side note, my memory was on 96%. I tried to lower it but it showed the same result.

Leave a Reply

Your email address will not be published. Required fields are marked *