Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 "Wrong key" dialog makes Visual Studio unresponsiv
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

.oisyn
Tomato Guru

162 Posts

Posted - Oct 16 2022 :  6:09:26 PM  Show Profile  Reply with Quote
I've had Visual Studio 2022 installed for a while now, but the latest VA version I was able to get in my support period didn't support it yet so I stuck to 2019 in the mean time.

I recently got a new license and installed VA in 2022. But now I can't use Visual Studio 2022 because VA complains about a key not being correct (probably because it still refers to my old license). I can't choose any of the dialog options because the whole thing just freezes and the Windows "program not responding" message pops up. Waiting for it doesn't seem to help in any way. Sometimes the process just kills itself.

The message is:

quote:
The security key for this program currently stored on your system does not appear to be valid for this version of the program. Select Yes to enter a new key, or No to revert to the defautl setting (if any).

Edited by - .oisyn on Oct 16 2022 6:18:50 PM

ChrisG
Whole Tomato Software

USA
292 Posts

Posted - Oct 16 2022 :  6:14:09 PM  Show Profile  Reply with Quote
Sorry you are having this issue.

You can remove VA without starting VS by deleting the install directory in the extensions folder.

Here is how you can locate the extensions folder.
https://docs.wholetomato.com/default.asp?W105

VS may complain on the next startup, but that should only happen once.

What version of Visual Assist are you using?
Go to Top of Page

.oisyn
Tomato Guru

162 Posts

Posted - Oct 16 2022 :  6:20:48 PM  Show Profile  Reply with Quote
Well yeah I can enter Visual Studio. Starting devenv with /safemode is also an option. But I'd really like to use Visual Assist :)

This is what 2019 reports:

License: Non-renewable Personal *************
VA_X.dll file version 10.9.2458.0 built 2022.07.29
DevEnv.exe version 16.11.32106.194 Community
msenv.dll version 16.0.32002.118
Comctl32.dll version 6.10.19041.1110
Windows 10 10.0 21H2 Build 19044.2006
16 processors (x86-64, WOW64)
Language info: 1252, 0x413

Platform: Project defined
Stable Includes:
C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\Include\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\cppwinrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\winrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\VS\include;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\atlmfc\include;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\VS\UnitTest\include;
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include;
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include;

Other Includes:

Stable Source Directories:
C:\Program Files (x86)\Windows Kits\10\Source\10.0.19041.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\VS\src;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\crt\src;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\atlmfc\src\atl;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\atlmfc\src\mfcm;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\atlmfc\src\mfc;

Go to Top of Page

ChrisG
Whole Tomato Software

USA
292 Posts

Posted - Oct 16 2022 :  6:23:15 PM  Show Profile  Reply with Quote
Does the same key dialog appear if you download and install version 2022.2 from here?

https://support.wholetomato.com/default.asp?W404
Go to Top of Page

.oisyn
Tomato Guru

162 Posts

Posted - Oct 16 2022 :  6:28:30 PM  Show Profile  Reply with Quote
Yes. I uninstalled it and installed it again, and same issue.

Is there a way to wipe all settings? I've tried deleting the registry key but that didn't help (also, I don't seem to have a VANet17 yet, but I'm not sure whether I should have it?)

Edited by - .oisyn on Oct 16 2022 6:39:37 PM
Go to Top of Page

ChrisG
Whole Tomato Software

USA
292 Posts

Posted - Oct 16 2022 :  6:40:55 PM  Show Profile  Reply with Quote
Yes, VANet17 is created when Visual Assist starts up (properly) in VS 2022. If it's missing, it just gets filled with the default values and that's fine.

Let's try resetting your licensing.

Please close VS first if it is running. Then navigate to %AppData% and delete the Embarcadero directory. Finally, navigate to the following registry key like you did before and delete the PortalUser, UserName and UserKey values if present.

Computer\HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X

Does that seem to help?
Go to Top of Page

.oisyn
Tomato Guru

162 Posts

Posted - Oct 16 2022 :  6:44:53 PM  Show Profile  Reply with Quote
Nope, still same issue.

When I start VS 2019 now I get the standard VA dialog asking me to register, which is what was to be expected, right?

Edited by - .oisyn on Oct 16 2022 6:45:09 PM
Go to Top of Page

ChrisG
Whole Tomato Software

USA
292 Posts

Posted - Oct 16 2022 :  6:49:56 PM  Show Profile  Reply with Quote
Yes, you can restore the folder from the recycling bin and that should skip needing to re-register.

If you are willing to try one more build, please download and install 2022.1 from here.
https://support.wholetomato.com/default.asp?W404

I'm trying to see if it was a regression at some recent point, as I cannot reproduce at this time.

I will also be sending you a trial license, with activation instructions. I know you are registered but using the trial may help reset whatever is going wrong with the internal licensing system. It won't override your paid registration.
Go to Top of Page

.oisyn
Tomato Guru

162 Posts

Posted - Oct 16 2022 :  6:57:30 PM  Show Profile  Reply with Quote
Quick question before I try that. Can I run different versions of VA in different Visual Studios side by side?
As in, if I just check the box for VS 2022, will it leave the (newer) versions installed for 2019 and 2017 alone?
Go to Top of Page

Admin
Whole Tomato Software

USA
74 Posts

Posted - Oct 16 2022 :  6:59:12 PM  Show Profile  Reply with Quote
Yes.
Go to Top of Page

.oisyn
Tomato Guru

162 Posts

Posted - Oct 16 2022 :  6:59:30 PM  Show Profile  Reply with Quote
I tried anyway.

Turns out 2022.1 works!
Go to Top of Page

ChrisG
Whole Tomato Software

USA
292 Posts

Posted - Oct 16 2022 :  7:00:31 PM  Show Profile  Reply with Quote
Thank you, and good to know. We will see if we can get a reproduction going on our side.
Go to Top of Page

.oisyn
Tomato Guru

162 Posts

Posted - Oct 19 2022 :  6:54:06 PM  Show Profile  Reply with Quote
Just to let you know, I tried if I could update to a later VA version now that it was succesfully initialized once in VS 2022, but I can't. I'm still getting the same error message with builds 2451 and 2458.

Let me know if you need some more info like a minidump or something.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17995 Posts

Posted - Nov 14 2022 :  12:51:37 PM  Show Profile  Reply with Quote
Apologies for the slow reply here, I am emailing you about this. I am wondering if this is somehow a profile specific problem, and the steps for testing this in VS2022 are a little complex.

zen is the art of being at one with the two'ness
Go to Top of Page

.oisyn
Tomato Guru

162 Posts

Posted - Dec 02 2022 :  6:05:04 PM  Show Profile  Reply with Quote
Hi. I just got back here to see if there was an update and read your last message. I wondered why I never saw that email, but it appears this forum was still using a *VERY* old email address of mine that I haven't had access to anymore in ages :D.

Anyway, I've updated my email in my profile. I would appreciate it if you sent it again :).

(edit: wow, seriously. Registered in 2004. I've been here even longer than you have been :D)

Edited by - .oisyn on Dec 02 2022 6:07:02 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17995 Posts

Posted - Dec 05 2022 :  07:48:25 AM  Show Profile  Reply with Quote
In recognition of your impressive experience with using VA, we have upgraded your support level to include emailing you at the latest email address

I have just sent an email to your current forum email address, hopefully it is clear. It's just a bit complex.

case=148884

Fingers crossed this helps to move us forward a bit.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000