Report Viewer failed installation

Maria Barna 1 Reputation point
2021-01-08T13:12:45.94+00:00

Hello!

So I'm trying to install Report Viewer for Visual Studio 2019 and the installation keeps failing. I updated Visual Studio to the latest version, thinking that this might solve the issue but it didn't.

The message that I get is the following:

  • The install of "was not successful for all the selected products. Object reference not set to an instance of the object.

So clicked on the install log to see and this is the message I got:

"

08.01.2021 14:57:47 - Microsoft VSIX Installer
08.01.2021 14:57:47 - -------------------------------------------
08.01.2021 14:57:47 - vsixinstaller.exe version:
08.01.2021 14:57:47 - 16.8.3036
08.01.2021 14:57:47 - -------------------------------------------
08.01.2021 14:57:47 - Command line parameters:
08.01.2021 14:57:47 - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\vsixinstaller.exe,/appidinstallpath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe,/skuName:Community,/skuVersion:16.8.30804.86,/appidname:Microsoft Visual Studio Community 2019,/culture:en-US,/noep,C:\Users\Admin\AppData\Local\Temp\VSIXfyuelhp0.vsix
08.01.2021 14:57:47 - -------------------------------------------
08.01.2021 14:57:47 - Microsoft VSIX Installer
08.01.2021 14:57:47 - -------------------------------------------
08.01.2021 14:58:14 - System.NullReferenceException: Object reference not set to an instance of an object.
at VSIXInstaller.SetupExtensions.GetLaunchableInstances(IQuery query)
at VSIXInstaller.SupportedSKUs.EnumerateIsolatedInstalls(Action1 callback) at VSIXInstaller.SupportedSKUs.AddInstalledLocationBasedSKUs(IntPtr userToken) at VSIXInstaller.SupportedSKUs.InitializeSupportedSKUs(IntPtr userToken) at VSIXInstaller.ExtensionService.InitializeSupportedSKUs(ICommandLineData cmdLineData, IntPtr duplicatedUserToken) at VSIXInstaller.App.Initialize(Boolean isRepairSupported) at VSIXInstaller.App.Initialize() at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()

"

Can anyboyd help me? Thank you! :)

Community Center Not monitored
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 60,161 Reputation points
    2021-01-08T14:56:11.123+00:00

    Hmm, almost seems like it is having an issue enumerating the installed instances of VS. You might need to send the setup logs to the SSRS team so they can diagnose what is going on. On their marketplace page they do recommend trying to install the previous version first if you run into an issue. Then you can upgrade to the newer version in VS. You can also post a question there asking for help from them.

    0 comments No comments

  2. Dylan Zhu-MSFT 6,426 Reputation points
    2021-01-11T06:03:37.57+00:00

    Hi MariaBarna,

    Please go to C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin, then remove the Microsoft.SqlServer.Types.dll if it exists.

    If it doesn't work, please try to repair your visual studio.

    Best Regards, Dylan

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.