Just-In-Time Debugging Errors
This topic provides help for error messages that can occur when are trying to do Just-In-Time debugging.
JIT Debugging failed with the following error: Access Is Denied
This message indicates that an attempt to do Just-In-Time debugging failed because the user does not have proper access permissions. The error message includes the name of the user who lacks the necessary permissions.
To solve this problem, add the user to the Debugger Users group. (See Adding Debugger Users and Configuring DCOM.)
Caution Adding users to the Debugger Users group may create a security risk by allowing those users to access the machine. You should add only those users that need debugger access on that particular machine. Do not add Everyone to the Debugger Users group.
The user account you add to Debugger Users can be:
- The user who is logged onto the machine. In this case, the user must log off and log back on for the new permissions to take effect.
- The ASPNET account. In this case, you need to restart the ASPNET service after adding the account to Debugger Users.
- An account running a service. In this case, you need to restart the service after adding the account to Debugger Users.
- Other built-in accounts, such as Local Service or Network Service. In this case, you must restart the machine after adding the account to Debugger Users.
JIT Debugging failed with the following error: 0x800405a6
This error occurs if you attempt to do Just-In-Time debugging on a machine where there is no user logged onto the console. As a result, there is no session in which to display the Just-In-Time debugging dialog box.
To fix this problem, log onto the machine.
JIT Debugging failed with the following error: 0x000400bd
This error occurs if the debugger is not registered to handle the Just-In-Time debugging request.
To fix this problem, use the setup disk to reinstall or repair Visual Studio .NET installation.
JIT Debugging failed with the following error: 0x80040003
This error occurs if you attempt to use Visual Studio 6 as the Just-In-Time debugging debugger for the desktop process (usually explorer.exe). Visual Studio 6 does not support debugging of the desktop process.
To fix this problem, use Visual Studio .NET to debug the desktop process.