Visual Studio Just in Time debugger error


  • Dear all,

    I am using windows server 2008 R2 and using IIS 7 for deployed website. Lot of intranet clients using my deployed website running through IIS. A random error occurs and display the following message and it hangs the whole website. Specially users cant acces the reports section of my website. The page keeps loading. Error is below:

    any help would be appreciated. Thanks

    Thursday, September 08, 2016 5:37 AM


  • Hi Muhammad Kashan Khan,

    According to the description, please refer to the following steps to troubleshoot this issue:

    1). Based on the error message, please make sure that the application platform is the same as the server. If we run 32 bit applications on 64 bit server, we could encounter this issue.

    2). Just-In-Time debugging launches Visual Studio automatically when an exception or crash occurs in an application that is running outside Visual Studio. This enables you to test your application when Visual Studio is not running, and begin debugging with Visual Studio when a problem occurs. Please enable or disable Just-In-Time debugging, refer to this steps:

    Run Visual Studio in Administrator->Click Tools menu->Click Options->Select the Debugging folder->select the Just-In-Time page->In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types: Managed, Native, or Script->Click OK.

    3). We could disable script debugging in Microsoft Internet Explorer and check if the pop-up eliminates. Please refer to the following steps:

    Open Internet Explorer->Click on Tools->Click internet options> Choose advanced tab->Under browsing section-> Uncheck "disable script debugging (both others and Internet Explorer) " and "display a notification about every script error", please refer to the following screenshot:

    4). A similar issue appeared in the following link, please refer to Emerick Rogul’s reply to delete certain registry keys in your machine.



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Friday, September 09, 2016 7:34 AM