question

AlanB-2659 avatar image
0 Votes"
AlanB-2659 asked DylanZhu-MSFT commented

Report Viewer 15.0 Install Corruption Error in Visual Studio 2019

I am unable to install the Report Viewer 15.0 package in Visual Studio 2019. I am getting and error "Install Error : System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The file or directory is corrupted and unreadable." I have a bunch of older websites that used ReportViewer 10.0 and I was planning on referencing the newer version to eliminate the compile errors.

vs-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DylanZhu-MSFT avatar image
0 Votes"
DylanZhu-MSFT answered DylanZhu-MSFT commented

Hi AlanB,

You can try to delete all cache packages in the C:\Users\ {username} \ .nuget\packages, then re-start 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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the idea, Dylan! I wish that had worked but alas, no, it did not. Can you think of anything else I can try?

0 Votes 0 ·

Hi @AlanB-2659 , you can check if the version of Microsoft.SqlServer.Types is larger than 14.0.0
87284-image.png

0 Votes 0 ·
image.png (34.8 KiB)