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

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

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

一、新建一個vb vuser,不寫任何代碼,也會報錯,錯誤信息如下:
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.

二、查找幫助文檔:

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.

三、看了二個文件版都不對,我的是6.05.1020,花了一定的時間總算找到6.06.1024安裝程序。搜索關鍵字vba6.5,在CSDN上有下載。版本總算可以符合了,心想應該不會有錯了。

回報空腳本,還是報錯,錯誤信息如下:

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.

四、因為我裝的loadrunner9.5版本,估計loadrunner文檔還沒有更新,loadrunner9.5相對應的VBE6.dllVBE6EXT.OLB版本估計不是這個,不妨把那二個文件刪除了,再裝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.

五、當我打開office 2007準備記錄整個過程時,office2007需要修復.

六、我再運行loadrunner回放腳本,結果報錯.我馬上去看二個文件的版本,都是6.05.1020. 我再次把這二個文件刪除(關閉word),再安裝VBA,回放腳本依然成功.

轉載于:https://www.cnblogs.com/quange/archive/2009/10/17/1584943.html

總結

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

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。