Share via


The "Void Microsoft.VisualStudio..." error when running web performance script in updated VS 2017 Enterprise

Question

Tuesday, January 14, 2020 8:35 PM

Hello All,

Yesterday I ran an update in my existing Visual Studio Enterprise 2017.

VS Enterprise 2017 version 15.9.18
.NET Framework version 4.8.037552

After the update completed I tried to run my web performance test scripts that were run successfully before the update.

Immediatelly on the first step "call web site" I received following error message:

**Request failed: Method not found: **

'Void Microsoft.VisualStudio.TestTools.WebTesting.WebTestRequestStatistics.RecordTimeSincePageComplete()'.

A few solutions that I found in forms for a similar issue aren't helped.

Please share links or knowledge on how can I fix this issue.

I already uninstalled the entire VS from comp (WIndows 10 Pro) and downloaded Visual Studio 2017 Enterprise from MS site, ran updates and still experiencing the same issue.

Thanks in advance!

qatm

All replies (4)

Wednesday, January 15, 2020 5:57 AM ✅Answered

Hi qatm,

Welcome to MSDN forum.

According to your description, I suppose the error occurs while running the test. Starting Visual Studio 2017, this assembly “Microsoft.VisualStudio.QualityTools.WebTestFramework.dll” is not installed in GAC because of the dependency or compatibility issues. please refer to the similar issue that using Visual Studio 2019 Enterprise version to update your GAC assembly. You could run the following command from developer command prompt:

gacutil -i "C:\Program Files(x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\xx\Microsoft.VisualStudio.QualityTools.WebTestFramework.dll"

In addition, if the above doesn’t work, I need your help to collect more installation logs. Please download and run this collect.exe tool, go to %temp% folder and find the vslogs.zip file, upload it to https://onedrive.live.com/ and share the link in here. Please clean up the personal information like Cookies and Password before you share your log.

Hope it will help you and any feedback will be expected.

Best Regards,

Anna 

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]


Wednesday, January 15, 2020 4:51 PM ✅Answered

Hi Anna,

After the \xx\ in provided command was replaced to \v4.0\ the command running succeed and GAC successfully installed.

After that I was able to run my scripts with no issue.

THanks for helping and I'm marking this chat as "Answered"

qatm


Wednesday, January 15, 2020 3:23 PM

Hi Anna,
Thank you for your reply. I went through provided steps and here some results:

1 - When I run provided command from the development command prompt I've got following results:
***
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise>gacutil -i "C:\Program Files(x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\xx\Microsoft.VisualStudio.QualityTools.WebTestFramework.dll"
Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Failure adding assembly to the cache:   The system cannot find the file specified.
***
2 - Please let me know if you still need the vslogs.zip file. Since there too much of personal information and too many different files I prefer do not share the link to this file in public forum. It won't be professional.
Maybe you need particular file, then It will simplify the issue because I can make updates in the file and share it here in forum even though there might be personal key information and etc.
You can provide me your email address and then I'll share the zip'ed file with your email.

Thank you for helping resolve the issue,
QATM

qatm


Thursday, January 16, 2020 5:39 AM

Hi qatm,

Thanks for your sharing.

I’m glad to hear that your issue is solved and your sharing will help other community members who meet the same or similar issue.

Thanks for helping us build a better Visual Studio.

Have a nice day.

Best Regards,

Anna

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]