Coding Horror posted by:
Manohpr | Posted on: 3/7/2012 | Category:
Windows Forms | Views: 3387 | Level:
Starter | Status:
[Member] |
Points: 75
|
Alert Moderator
'System.Reflection.TargetInvocationException:
Unable to get the window handle for the 'AxMPAKManual' control.
Windowless ActiveX controls are not supported. --->
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.
To
fix this issue is to turn off your hardware enabled DEP. PRD Software
is currently working on a solution that will work without having to do
this, however for the time being, the following work around is the only
option available to get the Help Master Pro reports working on a
Vista/Windows 7 machine that suffers from this issue.
Run a
command prompt as administrator. To do this, click the start menu,
select "All Programs", then "Accessories" and right-click on the
"Command Prompt" shortcut and choose "Run As Administrator". From here
you can use the following command to disable Data Execution Prevention
(DEP) with the following command:
bcdedit.exe /set {current} nx AlwaysOff
You
MUST restart computer after running the above command. You can always
turn it back on again, do the same and run the following:
bcdedit.exe /set {current} nx AlwaysOn
Note: The changes you have made require you to restart your computer before they can effect.
I hope it will helpful for all.
Found interesting? Add this to: