This technote mentions DEP (Data Execution Prevention) as the likely cause of these crashes.
This only happens on Windows 2008 Server, Windows Vista, and Windows 7.
Cause
This is due to DEP (Data Execution Prevention), which is enabled by default for all applications.
APAR defect PK64886 has been opened to investigate this issue.
Temporary solution:
DEP can be disabled for specific applications by running bcdedit.exe
To avoid this failure, the user must follow these steps.
- 1 / Log in as administrator 2 / Open a command prompt and run the following command.
bcdedit.exe / set nx Optout
- 3 / Restart the system
- 4 / Go to the Visual Studio installation directory, which is usually located in the following places:
- VS.NET 2008:
C:\Program Files\Microsoft Visual Studio 9.0 - VS.NET 2010:
C:\Program Files\Microsoft Visual Studio 10.0
Note. On 64-bit Windows platforms, the above paths begin with: C:\Program Files (x86)\
Then cd to the " VC\bin " VC\bin (for example, C:\Program Files\Microsoft Visual Studio 9.0\VC\bin ).
- 5 / Run the following 2 commands
cmd prompt> vcvars32.bat
cmd prompt> link / edit / nxcompat: NO "\ Common7 \ IDE \ devenv.exe"
This should resolve DEP-related crashes in Visual Studio, followed by ClearCase integration.
Note. To restore Windows DEP to default, use the following command: bcdedit.exe /set nx OptIn
source share