Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reporting services 安装包Microsoft.SqlServer.Types不工作_Reporting Services_Visual Studio 2015_Nuget_Sql Server 2016 - Fatal编程技术网

Reporting services 安装包Microsoft.SqlServer.Types不工作

Reporting services 安装包Microsoft.SqlServer.Types不工作,reporting-services,visual-studio-2015,nuget,sql-server-2016,Reporting Services,Visual Studio 2015,Nuget,Sql Server 2016,我正在尝试部署在Microsoft SQL Server Builder报表上生成的SSRS报表 但我得到了这个错误: System.Web.Services.Protocols.SoapException:意外错误 在报告处理过程中发生。--> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: 报表处理中出现意外错误。--> System.IO.FileNotFoundException:无法加载文件

我正在尝试部署在Microsoft SQL Server Builder报表上生成的SSRS报表

但我得到了这个错误:

System.Web.Services.Protocols.SoapException:意外错误 在报告处理过程中发生。--> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: 报表处理中出现意外错误。--> System.IO.FileNotFoundException:无法加载文件或程序集 'Microsoft.SqlServer.Types,版本=14.0.0.0,区域性=中性, PublicKeyToken=89845dcd8080cc91'或其依赖项之一。这个 系统找不到指定的文件。在 Microsoft.ReportingServices.Library.ReportingService 2010Impl.CreateReportEditSession(字符串 报表、字符串父项、字节[]定义、字符串和EditSessionID、, 警告[]和警告)位于 Microsoft.ReportingServices.WebServer.ReportingService 2010.CreateReportEditSession(字符串 报表、字符串父项、字节[]定义、字符串和EditSessionID、, 警告[]和警告)

在我找到的某个地方安装了Microsoft.SqlServer.Types。问题是我如何在这个程序中做到这一点

它说要安装Microsoft.SqlServer.Types。考虑到其他可能性,我尝试在VisualStudio中安装它,因为我知道您也可以通过VisualStudio制作报告。我做了我的项目,它也有一个错误,所以我认为这是相同的错误。所以我试着跑

 PM> Install-Package Microsoft.SqlServer.Types
安装包:找不到项目“Default”。第1行字符:1 +安装包Microsoft.SqlServer.Types + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CategoryInfo:ObjectNotFound:(默认值:String)[安装包],ItemNotFoundException +FullyQualifiedErrorId:NuGetProjectNotFound,NuGet.PackageManager.PowerShellCmdlet.InstallPackageCommand


我又犯了一个错误。我让NuGet安装

下载dll安装文件并将其安装到服务器上。您的项目是数据库项目吗?nuget now不支持Sql项目,当您右键单击项目时,您会发现Manage nuget packages项变灰。我已修复它。我首先尝试通过运行SQLSysClrTypes.msi来修复它,您可以通过Microsoft®SQL Server®2014功能包下载它。(根据您拥有的SQL Server更改年份)。它应该可以工作,但在我的情况下它不能工作,所以我加载了一个包含SQLSysClrTypes dll文件的NuGet包,并将其放在我的服务器上。@Erika Martinez,很高兴知道您已经解决了这个问题。请您将您的评论转换为回答并标记,这对其他有相同问题的社区有益吗?谢谢