日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

使用loadrunner的vb vuser写脚本 运行报错:vbascriptext.dll -25277 -25240

發(fā)布時(shí)間:2025/3/15 编程问答 40 豆豆
生活随笔 收集整理的這篇文章主要介紹了 使用loadrunner的vb vuser写脚本 运行报错:vbascriptext.dll -25277 -25240 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

一、新建一個(gè)vb vuser,不寫(xiě)任何代碼,也會(huì)報(bào)錯(cuò),錯(cuò)誤信息如下:
Warning: Invalid parameter detected in function.
Warning: Invalid parameter detected in function.
Warning: Extension vbascriptext.dll reports error -25277 on call to function ExtPerThreadInitialize
Error: Vuser failed to initialize extension vbascriptext.dll.

二、查找?guī)椭臋n:

Replay Error with VB Vuser Scripts

If you are getting error number -25210 when trying to replay a VB Vuser

script, you may have a problem with some of your DLL files.

Solution:

1 Open the c:"Program Files"Common Files"Microsoft Shared"vba"vba6

directory.

2 Locate the VBE6.dll and VBE6EXT.OLB files.

3 Right click the files and click properties to see the version of each file.

4 If either the VBE6.dll or the VBE6EXT.OLB file versions are between

6.04.9972 and 6.05.1024, they both must be replaced. If neither file

version is in this range, contact HP software support.

5 Replace the VBE6.dll file with version 6.04.9972 or 6.05.1024.

6 Replace the VBE6EXT.OLB file with version 6.04.9969 or 6.05.1024.

三、看了二個(gè)文件版都不對(duì),我的是6.05.1020,花了一定的時(shí)間總算找到6.06.1024安裝程序。搜索關(guān)鍵字vba6.5,在CSDN上有下載。版本總算可以符合了,心想應(yīng)該不會(huì)有錯(cuò)了。

回報(bào)空腳本,還是報(bào)錯(cuò),錯(cuò)誤信息如下:

Unable to format message id [-25001]
Unable to format message id [-25001]
Unable to format message id [-25001]
Unable to format message id [-25001]
Unable to format message id [-25001]
Warning: Extension vbascriptext.dll reports error -25240 on call to function ExtPerThreadInitialize
Error: Vuser failed to initialize extension vbascriptext.dll.

四、因?yàn)槲已b的loadrunner9.5版本,估計(jì)loadrunner文檔還沒(méi)有更新,loadrunner9.5相對(duì)應(yīng)的VBE6.dllVBE6EXT.OLB版本估計(jì)不是這個(gè),不妨把那二個(gè)文件刪除了,再裝tools下的VBA 安裝程序,VBE6.dllVBE6EXT.OLB版本分別是6.00.8714,6.00.8667.再回放腳本成功.

Virtual User Script started

Starting action vuser_init.

Ending action vuser_init.

Running Vuser...

Starting iteration 1.

Starting action Action.

Ending action Action.

Ending iteration 1.

Ending Vuser...

Starting action vuser_end.

Ending action vuser_end.

Vuser Terminated.

五、當(dāng)我打開(kāi)office 2007準(zhǔn)備記錄整個(gè)過(guò)程時(shí),office2007需要修復(fù).

六、我再運(yùn)行loadrunner回放腳本,結(jié)果報(bào)錯(cuò).我馬上去看二個(gè)文件的版本,都是6.05.1020. 我再次把這二個(gè)文件刪除(關(guān)閉word),再安裝VBA,回放腳本依然成功.

轉(zhuǎn)載于:https://www.cnblogs.com/quange/archive/2009/10/17/1584943.html

總結(jié)

以上是生活随笔為你收集整理的使用loadrunner的vb vuser写脚本 运行报错:vbascriptext.dll -25277 -25240的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。