English 中文(简体)
ASP.NET 2.0 VS2010 中的哪一个报告书?
原标题:Which ReportViewer version in ASP.NET 2.0 VS2010?

我正在VS2010年建造一个网络应用程序(ASP.NET 2.0 C#)。

申请人正在工作上课,我认为我已经把报告功能放在一起,因此我安装了《2010年报告》。

当我从信箱中撤回对报告书信使的控制并运行该页时,我发现某种组群的错误,因此我添加了微软。 ReportViewer. WebForm in Reference. 但只有8.0.0版本。

当我尝试运行时,我给我:

The base class includes the field  ReportViewer1 , but its type (Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Reporting.WebForms.ReportViewer).

I assume this is happening because I did not reference Microsoft.Reporting.WebForm 10.0.0.0. Anyone know why I do not have that in my reference list and how do I get it on there?

成就

问题回答

VS 2010 normally works with Microsoft.Reporting.WebForm 10.0.0.0. I wonder why you ended up with the super old version 8.0.0.0. However, you can add manually Add or Remove References and/or manually replace the Microsoft.Reporting.WebForm 8.0.0.0 with Microsoft.Reporting.WebForm 10.0.0.0 in your web.config.

如果由于某种原因,你没有在你的机器上安装,你可以安装。 微软 Report Viewer 2010 Redistributable Pack

虽然Im使用ASP.Net 2.0 和Microsoft.Reporting。 WebForm 10.0.0.0,迄今为止我没有问题。 汇编者警告说,框架4.0正通过Microsoft.Reporting参考。 WebForm并建议升级至ASP。 净额4.0





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签