报表查看器不使用rdlc报表的c#windows表单应用程序 [英] Report Viewer Not Working with c# windows form application using rdlc report

查看:104
本文介绍了报表查看器不使用rdlc报表的c#windows表单应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'

推荐答案

显示一些代码。检查你的.rdlc报告的位置。报告查看器似乎无法找到你的报告。
Show some code. check where you place your .rdlc report.It seems that reportviewer could not find your report.


这是开发还是后期实施?



如果这是部署后的单击并且错误是后实现,那么您将报表查看器设置为先决条件,以便在应用程序启动之前下载它,如果我没记错的话。自从我的上一个项目使用报告查看器后,这可能已经改变了......
Is this in development or post implementation?

If this is a click once deployment and the error is post implementation then you set the report viewer as a prerequisite so it is downloaded prior to the application launch if I remember correctly. This may have changed since my last project using report viewer though...


这篇关于报表查看器不使用rdlc报表的c#windows表单应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆