Microsoft 在 SQL Server 2012 SP1 Reporting Services Add-In For Sharepoint 中提供的 RSWebParts.cab 文件已损坏。它提取的文件结构与其清单或 INF 文件不匹配,因此当您尝试安装它时,您会收到可怕的“无法在解决方案中提取 cab 文件”错误。
有没有办法让这个文件柜文件正常工作?
Microsoft 在 SQL Server 2012 SP1 Reporting Services Add-In For Sharepoint 中提供的 RSWebParts.cab 文件已损坏。它提取的文件结构与其清单或 INF 文件不匹配,因此当您尝试安装它时,您会收到可怕的“无法在解决方案中提取 cab 文件”错误。
有没有办法让这个文件柜文件正常工作?
我的解决方法是使用现有的cabinet 文件和SSRS 2008 安装中的工作RSWebParts.cab 文件自己重建cabinet 文件。
.OPTION EXPLICIT ; Will Generate errors for mistakes
;.Set CompressionType=MSZIP ;** All files are compressed to cabinet files
.Set DiskDirectoryTemplate=CDROM;
.Set DiskDirectory1=;
.Set Cabinet=on
.Set CabinetNameTemplate=RSWebParts.cab
manifest.xml
report_explorer.gif
report_viewer.gif
RSWebParts.dll
RSWebParts.inf
RSWebParts.resources.dll
SPExplorer.dwp
SPViewer.dwp
.Set DestinationDir=de
de\RSWebParts.resources.dll
.Set DestinationDir=es
es\RSWebParts.resources.dll
.Set DestinationDir=fr
fr\RSWebParts.resources.dll
.Set DestinationDir=it
it\RSWebParts.resources.dll
.Set DestinationDir=ja
ja\RSWebParts.resources.dll
.Set DestinationDir=ko
ko\RSWebParts.resources.dll
.Set DestinationDir=pt
pt\RSWebParts.resources.dll
.Set DestinationDir=ru
ru\RSWebParts.resources.dll
.Set DestinationDir=zh-chs
zh-chs\RSWebParts.resources.dll
.Set DestinationDir=zh-cht
zh-cht\RSWebParts.resources.dll
最后,打开命令提示符并运行makecab /f (您的 ddf 位置)
这将在结构正确的目录中创建一个 RSWebParts.cab 文件。将此复制到您的 Sharepoint 服务器并按照 MSDN 上的说明进行安装。