一、错误描述

在公司做项目的时候,有时会需要用到水晶报表显示数据,水晶报表在ASP.NET中使用时没有问题,winform项目开发也没有问题,但是在ext.net开发使用时却报错了,错误:Uncaught ReferenceError: bobj is not defined,也就是未定义参考错误:bobj未定义。

然后在网上找了好久的资料,都没有解决问题,后来无意间看到一网站:http://www.knowsky.com/897567.html。说得很详细,通过修改web.config解决了错误。我是为了方便自己以后查找,又整理了出来了。希望给用得到的朋友提供帮助。

二、解决方案

在web.config添加节点代码

 <configSections>
<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"></section>
</sectionGroup>
</sectionGroup>
</configSections> <!--水晶報表-->
<businessObjects>
<crystalReports>
<crystalReportViewer>
<add key="ResourceUri" value="/aspnet_client/system_web/4_0_30319/crystalreportviewers13"/>
</crystalReportViewer>
</crystalReports>
</businessObjects>

最主要就是这两段,

最新文章

  1. PHP中CURL方法curl_setopt()函数的一些参数
  2. mysql学习笔记 第五天
  3. Leetcode 221. Maximal Square
  4. 动手学习TCP:4种定时器
  5. Maven-环境快速搭建
  6. linux笔记:linux常用命令-网络命令
  7. 字符串分割函数Demo
  8. 证明:一个整数a若不能被6整除,则a2+24必能被24整除。(整除理论,1.1.4)
  9. 04_Python Data Structures
  10. 你不可不知的Java引用类型之——WeakReference源码详解
  11. Django Http请求生命周期
  12. 11.python描述符---类的装饰器---@property
  13. Python int 中 add abs 方法
  14. 【转】Java中static关键字用法总结
  15. @PostConstruct和@PostConstruct 注解 及ehcache 缓存 执行过程 小记
  16. node-webkit开发桌面应用
  17. 【Unity】6.4 Transform--移动、旋转和缩放游戏对象
  18. Visual Studio 2015 编译错误 File 的值+乱码的解决方法
  19. MVC, EF, Code First 相关问题总结
  20. Codeforces 264B Good Sequences(DP+素数筛)

热门文章

  1. 转-Gitorious搭建步骤
  2. robotframework自动化系列:删除操作流程以及总结
  3. hive中一些常用的sql语句
  4. linux网络、性能相关命令
  5. azure备份虚拟机
  6. Java计算字符串中字母出现的次数
  7. [阿里云部署] Ubuntu+Flask+Nginx+uWSGI+Mysql搭建阿里云Web服务器
  8. Emrips 反质数枚举 javascript实现
  9. 命令模式(Command)
  10. php+jQuery+Mysql找回密码----ThinkPHP