Blazor Server - JIT Debugger on Windows Server 2019 keeps the app unresponsive

Arnold Mendoza 11 Reputation points
2022-06-17T02:01:06.797+00:00

Good Day Everyone

We published our Blazor Server side application to our local server which is Windows Server 2019, now the site becomes unresponsive when it encounters an error on the system, a JIT Debugger shows up on the server, which is the main cause of the sites unresponsiveness, now in able for the site work again, some from our technical team must close the JIT Debugger on the windows server, and also if we are updating the websites IIS, we cannot overwrite or delete the files inside the websites folder because the JIT Debugger shows ups on the server side. We disabled it on the Visual Studio 2019 that is installed on the server, but still, it still shows on the server, is there a way for the JIT Debugger not to show up on the server and makes the application working?

I hope someone can help me on this.

Thanks and regards.

Internet Information Services
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,395 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,170 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,366 Reputation points
    2022-06-20T08:30:28.263+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having issues related to Disabling JIT debugger on Windows

    1. Delete (or rename) below files.

    C:\WINDOWS\system32\vsjitdebugger.exe
    C:\Windows\SysWOW64\vsjitdebugger.exe

    1. If your computer is running a 64-bit operating system, delete the following registry keys also after taking backup.

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\WindowsNT\CurrentVersion\AeDebug\Debugger
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft.NETFramework\DbgManagedDebugger

    ---------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments