"Discovering product gallery failed" on ANY Instance

Completed

I get the above Error on any Installation on R# 9 when searching for Updates.
There is no Antivirus or Firewall creating this Problem. => Verion 2019.3.1 <=

 

1
9 comments

Hello @...,

 

Could you please provide a screenshot demonstrating the problem?

Thank you.

 

0

Please try installing ReSharper 9 using full installer, you can find it here - https://www.jetbrains.com/resharper/download/previous.html.
Thank you.

0
Avatar
Permanently deleted user

Angelina Elycheva I Think you mentioned the wrong Christian :-) Have a nice week

0

Hello @...,

Please accept my apologies. Wishing you a nice week too :)

0
Avatar
Permanently deleted user

Hi,

I encounter the same problem :( Here is the error:

Completed with 1 error.
11:48:03.774 |E| Could not load file or assembly 'NuGet.Packaging, Version=5.3.0.4, Culture=neutral, PublicKeyToken=5aaa11a165479571' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)

Microsoft Windows NT 10.0.18362.0 (Windows 10 Enterprise, version 6.3, build 18362, release 1903)
Microsoft .NET Framework 4.8.03752 (4.8 Release 528040)
Total memory. Virtual = 3.99 GB; Physical = 15.8 GB; Page size = 44.8 GB
Used Managed = 7.72 MB. Available Virtual = 3.29 GB; Physical = 3.56 GB; Page size = 24.3 GB
Time zone: (UTC+02:00) Athens, Bucharest
Input languages: en-US (US). Default: en-US (US)
Visual Studios
16.0_5302c0aa: Visual Studio Enterprise 2019, Version 16.4.29806.167 (Nickname="" Preview=False Incomplete=False)
Installer
Wave: 193
Identity: 193.0.20200209.95337
Gallery: Embedded package gallery
Per-machine: False
Run as administrator: False
Raw command line: /Hive=
Parsed options: “”

0
Avatar
Permanently deleted user

I tried with different versions of ReSharper, but it's the same. Could it be of the latest Visual studio installation? What should I do to keep using the latest versions?

0

Hello Stefan,

 

Sorry for delay in responding.

Do you have AllowStrongNameBypass DWORD entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework and HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework?
If so, what value do you have set for it? (https://docs.microsoft.com/en-us/dotnet/framework/app-domains/how-to-disable-the-strong-name-bypass-feature)

If it's 0, then please change the value for both AllowStrongNameBypass to 1 (https://www.jetbrains.com/resharper/download/system_requirements.html - "The strong-name bypass feature must not be disabled").
Also, do you know why your machine was configured this way ("0" set for AllowStrongNameBypass)?

Thank you.

0
Avatar
Permanently deleted user

Hi Angelina,

This was exactly the case and after switching AllowStrongNameBypass to 1 everything worked again. Unfortunately, I don't remember why the machine was configured this way.

Have a nice day!

0
Avatar
Permanently deleted user

Hello, We are experiencing this same issue and need a resolution from JetBrains.  What is the proper channel to open a trouble ticket?

FYI, the reason this registry entry is being set is due to STIG hardening:

https://www.stigviewer.com/stig/microsoft_dotnet_framework_4.0/2019-09-30/finding/V-30935

 

0

Please sign in to leave a comment.