Not sure whether this is a Q.
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
<system.windows.forms jitDebugging="true" />
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
In VS the way to enable/disable that is:
1-On the "TOOLS" menu, click Options.
2-In the Options dialog box, select the Debugging folder.
3-In the Debugging folder, select the Just-In-Time page.
4-In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types: Managed, Native, or Script.
To disable Just-In-Time debugging, once it has been enabled, you must be running with Administrator privileges. Enabling Just-In-Time debugging sets a registry key, and Administrator privileges are required to change that key.
It has to be done by the developer and its his responsible to guide the application error reporting to the system event handlers. If this is an issue which occurs in a certain app, have to check for the .net version (specially in vista). Many 1.0 and 1.1 based apps give the problem.
To install dotnet fw 1.1 on Vista will give an error. Most of the time caused by DEP (Data Execution Prevention). But the thing is some software forces the installation of .net framework (older versions). How ever Vista is packed with .net 3.0 and 2.0. Even if you allowed to install will not be able to uninstall 2.0 (possible to remove 3.0 though).
How to solve the installation issue:
This issue is resolved in Microsoft .NET Framework 1.1 SP1, however you will need to use the following procedure to install both the .NET Framework and the Service Pack at the same time:
Download Microsoft .NET Framework 1.1 Redistributable Package and Microsoft .NET Framework 1.1 Service Pack 1 using links below:
Dotnet Framework 1.1 Redest
Dotnet Framework 1.1 SP1
Save both installations in the same directory
Ensure that the Microsoft .NET Framework 1.1 Redistributable Package is named dotnetfx.exe. If not, change its name to dotnetfx.exe.
Ensure that Microsoft .NET Framework 1.1 Service Pack 1 is named dotnetfxsp1.exe. If not, change its name to dotnetfxsp1.exe.
Open command prompt as Administrator, and change to the directory where the two installations are saved.
Run the following commands using the order shown below
dotnetfx.exe /c:"msiexec.exe /a netfx.msi TARGETDIR=C:dotnet"
msiexec.exe /a c:dotnet
etfx.msi /p c:dotnet
Install both Microsoft .Net Framework 1.1 and Service Pack 1 by running C:dotnet
The systems must be backed up before trying this specially the system state. How ever the keys can be repaid in a damage
This thread will also be helpful