LoadRunner录制由于windows的数据执行安全特性被阻止的解决

来源:百度文库 编辑:神马文学网 时间:2024/04/28 16:49:14
LoadRunner录制由于windows的数据执行安全特性被阻止的解决

今天在准备正式测试时,将测试环境放到了win2003服务器上,突然在用Microsoft .net协议录制测试程序时报了如下错误:

c:\program files\interner explorer\iexplore.exe was terminated by windows

due to the windows data execution prevention feature.please refer to the

vugen teadme limitations section for insturctions on midifying setting,

and try record again.
原因在上面的提示里已经很清楚了,是由于windows的数据执行安全特性阻止了录制

过程。

解决:参考vugen 的readme做法就可以了。

下面是readme的原文:

Limitations
General
Windows XP SP2 and Windows 2003 contain a Data Execution Prevention (DEP)

feature which may cause VuGen to stop recording. If you experience unusual

behavior during recording in these environments, modify the DEP settings.

To modify the Windows DEP settings:

Open Start > Control Panel > System.
In the Advanced tab, click Performance settings.
In the Performance Options Data Execution Prevention tab, select the first

option, DEP for essential services only.
Click OK to save the settings.
Reboot the machine.

ps:my pc configuration:
win2003 + qtp9.5