简体   繁体   中英

Error in reporting using SSRS against SQL Server

I am getting the following error when running a report against a SQL Server database - any ideas?

Thanks

An unexpected error occurred in Report Processing.
Could not load file or assembly 'Microsoft.SqlServer.Types, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

If you are using SSRS as a client file ( .rdlc ) in your web or Windows app, you need the following assemblies:

Microsoft.ReportViewer.ProcessingObjectModel
Microsoft.ReportViewer.WebForms
Microsoft.ReportViewer.Common
Microsoft.SqlServer.Types

Download the assemblies via NuGet:

Also make sure that the entry for this is backward compatible in the web.config configuration. In your references folder; right-click and set copy local = true .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM