Search
Winners

Win Prizes

Social Presence
Like us on Facebook
Advertisements
Ads

Solution for Windowless ActiveX control issue in windows 7 machine

Manohpr
Posted by Manohpr under Windows Forms on 3/7/2012 1:19:21 AM | Points: 75 | Views : 14421 | Status : [Member]

'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.





Comments or Responses


Login to post response