vb.net Web 应用程序错误 0x800a1391 - JavaScript 运行时错误:'bobj' 未定义
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16831323/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Web Application Error 0x800a1391 - JavaScript runtime error: 'bobj' is undefined
提问by Jayson Tamayo
I am having a trouble in displaying a Crystal Report in a ASP.NET page. The error is
我在 ASP.NET 页面中显示 Crystal Report 时遇到问题。错误是
0x800a1391 - JavaScript runtime error: 'bobj' is undefined
I am using Visual Studio Ultimate 2012 and Crystal Report 13.0.5.891.
我使用的是 Visual Studio Ultimate 2012 和 Crystal Report 13.0.5.891。
I have seen this already Microsoft JScript runtime error: 'bobj' is undefinedbut none of the comments helped me.
我已经看到了这个Microsoft JScript 运行时错误:'bobj' 未定义,但没有任何评论对我有帮助。
I also added some items in Web.config file:
我还在 Web.config 文件中添加了一些项目:
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral,PublicKeyToken=692fbea5521e1304, Custom=null" />
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler" />
</sectionGroup>
</sectionGroup>
</configSections>
<businessObjects>
<crystalReports>
<rptBuildProvider>
<add embedRptInResource="true" />
</rptBuildProvider>
<crystalReportViewer>
<add key="ResourceUri" value="/crystalreportviewers" />
</crystalReportViewer>
</crystalReports>
</businessObjects>
I also copied the folder crystalreportviewers to C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319. But I still get the bobj undefined error.
我还将文件夹 Crystalreportviewers 复制到 C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319。但我仍然收到 bobj 未定义错误。


