MaoBisheng

Asp.Net(C#) & SQL & Oracle

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

水晶报表错误:bobj is not defined

1.拷贝C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13 (先安装CRforVS_redist_install_32bit_13_0.exe) 到你的项目文件夹下(ProjectName/crystalreportviewers13)

2.配置WebConfig

<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" />
</sectionGroup>
</sectionGroup>
</configSections>

<businessObjects>
<crystalReports>
<rptBuildProvider>
<add embedRptInResource="true" />
</rptBuildProvider>
<crystalReportViewer>
<add key="ResourceUri" value="/crystalreportviewers13" />
</crystalReportViewer>
</crystalReports>
</businessObjects>
posted on 2011-08-11 14:55  MaoBisheng  阅读(1523)  评论(0编辑  收藏  举报