我正在尝试安装 RSWebParts.cab 以在 SharePoint 2016 上使用 Report Viewer,但出现如下错误:
Install-SPWebPartPack : Failed to extract the cab file in the solution.
At line:1 char:1
+ Install-SPWebPartPack -LiteralPath "C:\Program Files (x86)\Microsoft ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...tallWebPartPack:SPCmdletInstallWebPartPack) [Install-SPW
ebPartPack], SPException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletInstallWebPartPack
我用来安装的路径:
Install-SPWebPartPack -LiteralPath "C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Reporting Services\SharePoint\RSWebParts.cab" -GlobalInstall