Report Viewer 11无法在Visual Studio 2012 Pro中运行 [英] Report Viewer 11 not working in Visual Studio 2012 Pro

查看:74
本文介绍了Report Viewer 11无法在Visual Studio 2012 Pro中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您能否建议我如何在VS 2012 Professional中使用ReportViewer控件?


我将ReportViewer控件11.0.0.0放入Visual Studio 2012 Professional中的ASP.NET Web窗体应用程序中。  Web表单应用程序针对.NET  4.5。(我正在使用VS 2012 Pro的评估许可证,直到我可以验证
,即ReportViewer控件将适用于我的情况。) 我在Windows 8 Professional上。数据位于同一台计算机上的SQL Server 2008 R2 Developer Edition上的测试服务器中。我使用Visual Studio中的Report Builder创建一个简单的
RDLC报告文件,并将其附加到ReportViewer控件。一切似乎都很好,直到我尝试在IE 10中运行ASP.NET应用程序并得到此消息 -
0x800a1391:JavaScript运行时错误'Microsoft'未定义。我点击了CONTINUE并且收到错误标题为"报告查看器配置错误"的消息以及向Web.config添加代码的说明(< httpHandlers >   < add
动词 = " * "  
等...)。
我将该代码添加到Web.config然后出现了不同的错误 "HTTP错误500.23 - 内部服务器错误    检测到的ASP.NET设置在集成托管管道模式下不适用。" 
发布的修补程序是向Web.config添加更多代码(< system.webServer < 验证
validateIntegratedModeConfiguration =
" false "
/>
        < / system.webServer >
但是没有解决错误,所以我删除了它。如果我尝试了项目,我也得到'Microsoft'未定义的错误一个简单的空白Web应用程序或Web窗体模板。我得到'Microsoft'是未定义的错误我是否将
ReportViewer控件附加到RDLC或什么也没有。我得到'Microsoft'是未定义的错误我是在IE10或IE9或IE8模式下运行IE。


---描述结束---


解决方案

嗨莎莉,


我正在将你的线程转移到
Visual Studio报告控件
专家支持论坛。感谢您的理解。


Best的问候,


Can you suggest how I can get ReportViewer control working in VS 2012 Professional?

I placed ReportViewer control 11.0.0.0 into my ASP.NET Web Forms application in Visual Studio 2012 Professional.  The Web forms application is targeted at .NET 4.5.  (I'm using the evaluation license of VS 2012 Pro until I can verify that ReportViewer control is going to work for my situation.)  I'm on Windows 8 Professional. The data is in my test server on SQL Server 2008 R2 Developer Edition on the same machine. I used the Report Builder within Visual Studio to create a simple RDLC report file and attach it to the ReportViewer control. All seems fine until I try to run the ASP.NET application in IE 10 and got this message - 0x800a1391: JavaScript runtime error 'Microsoft' is undefined.  I clicked CONTINUE and got an error message titled "Report Viewer Configuration Error" and instructions to add code to Web.config (<httpHandlers>  <add verb="*"  , etc...). I added that code to Web.config and then got a different error "HTTP Error 500.23 - Internal Server Error    An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode."  The posted fix was to add more code to Web.config (<system.webServer<validation validateIntegratedModeConfiguration="false" />         </system.webServer>) but that did not resolve the error, so I removed it.  I get the 'Microsoft' is undefined error also if I try the project in a simple, blank Web application or in the Web Forms template. I get the  'Microsoft' is undefined error whether I attach the ReportViewer control to an RDLC or to nothing.  I get the 'Microsoft' is undefined error whether I run IE in IE10 or IE9 or IE8 mode.

--- end of description ---

解决方案

Hi Sally,

I am moving your thread into the Visual Studio Report Controls Forum for dedicated support. Thanks for your understanding.

Best Regards,


这篇关于Report Viewer 11无法在Visual Studio 2012 Pro中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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