CrystalReport for vs2010 水晶报表的发布问题以及捆绑发布

本文详细介绍了在使用VS2010开发的带CrystalReport的网站发佈时遇到报错问题的解决方法,包括安装SAPCrystalReports插件、复制关键DLL文件及解决Web工具栏图标不显示、JS错误等问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、狀況描述:
  在使用VS2010開發的帶CrystalReport 的網站發佈時,開啟帶CrystalReport 功能的畫面會報錯。
二、解決方案:
  选择和下载一个安装包:
      SAP Crystal Reports, version for Visual Studio 2010 -
   标准程序安装软件安装包的visuals tudio IDE。(这个是给vs2010的报表插件安装,在本地开发时用到。)
     SAP Crystal Reports, version for Visual Studio 2010 -
   点击一次用来创建安装包,self-updating窗口的应用程序可以安装和运行最小的用户交互.
     SAP Crystal Reports, version for Visual Studio 2010 -
    合并模块安装包的组分,用来安装多个应用程序都分享着。
    SAP Crystal Reports runtime engine for .NET Framework 4 (32-bit)
    SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit)
上边两个是你把WinForm打包发布后,需要这2个(根据不同的机器配置选择)安装包在客户的电脑上安装的。这样软件的报表功能才能正常运行。)

1、在你的开发环境中找到Visual Studio安装目录下的"SDK"v2.0"BootStrapper"Packages"CrystalReports,将安装文件CRRedist2010_x86.msi,复制到服务器中并安装。
2、如果程序还不能运行,需要将水晶报表的五个dll文件复制到你的网站下的bin目录,其五大将的名称如下:
     CrystalDecisions. CrystalReports.Engine.dll
     CrystalDecisions. ReportSource.dll
     CrystalDecisions.Shared.dll
     CrystalDecisions.Web.dll
     CrystalDecisions.Windows.Forms.dll
那么他们身在何处呢?答:“在你的开发环境中C:"Program Files"Common Files"Business Objects"2.7" Managed"目录下”
二 另外会出现一个其他的问题 就是发布了以后发现web的工具栏的图标不显示。同时点击发现出现提示性的js错误。经过分析认为是水晶报表的资源没有安装。
打开C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\asp.NETClientFiles 找到文件夹CrystalReportWebFormViewer3 然后在桌面新建aspnet_client然后再里面新建system_web然后在里面新建2_0_50727。然后把 CrystalReportWebFormViewer3的所有东西copy到2_0_50727里面。这样就有完整的路径 aspnet_client\system_web\2_0_50727\CrystalReportWebFormViewer3
   然后复制所有的asp.net_client整个文件夹到您的网站发布的根目录里面
三、使用注意與時機:
四、備註:
源文件來源於: http://maxh168.blog.163.com/blog/static/118180964201191531439232/
6-1 Create rich reports within the familiarity of your Visual Studio development environment – for free Hit your report development deadlines and come in under budget without leaving Microsoft Visual Studio. Our report design software installs directly into Visual Studio. With this fully functional – and free software, you'll spend less and save time developing rich, interactive reports. Save time using powerful report creation, integration, and delivery tools Deliver interactive, graphical reports on any device through an XML Web services model Distribute highly formatted reports in rich-client Windows environments Enjoy flexible data access with support for over 35 data sources, major browsers and operating systems Extend your application with seamless report integration into WPF applications Seamless upgrade to SAP Crystal Reports 2011 for added report functionality Download SAP Crystal Reports, developer version for Microsoft Visual Studio now › Colleague reviewing a report created with powerful report design software Share Tweet this Share on Facebook Share on LinkedIn Share on Google+ Email 2 Features and Functionality Collapse All Features and Functionality Learn more about the features and functions of SAP Crystal Reports, developer version for Microsoft Visual Studio. Powerful designer features for creating rich reports Flexible Windows and Web application features support development ASP.NET features support your ASP development efforts Broad data access enables multiple sources and dynamic data output Platform features provide support and management for SAP Crystal Reports projects Get all the details on SAP Crystal Reports, developer version for Microsoft Visual Studio features › Less Technical & License Resources Discover if SAP Crystal Reports, developer version for Microsoft Visual Studio is right for you. Get started by reviewing the technical, data access and license details. Access virtually any data sources via ODBC, OLE DB or native connections Licensed for report design, runtime distribution and report viewer distribution Add reporting to thick client and internal server based .NET applications Learn more about data access, licensing and technical requirements › Less Report design options Make the most of the SAP Crystal Reports, developer version for Microsoft Visual Studio runtime by designing your reports in SAP Crystal Reports 2011 software. Utilize Crystal Reports 2011 and spend less time creating and integrating reports Use an editable preview panel and edit reports while viewing them Use RPTR files to protect your report designs from downstream modifications Leverage an object repository for component reuse Utilize a workbench tool to help manage projects Learn more about upgrading to SAP Crystal Reports 2011 › Less Discover Managed BI Extend your existing .NET reporting solutions with SAP Crystal Server for report object, user, and user group management. Utilize APIs for customizing server logon, user management and report scheduling Create data-driven publications, and extend publications with custom processing Add monitoring probes that help ensure the server is behaving as expected Use Web services to perform report scheduling, storing: querying and more Extend your reporting solutions with managed BI – learn more ›
7-5 共7个压缩包(只有50M上传权限) Create rich reports within the familiarity of your Visual Studio development environment – for free Hit your report development deadlines and come in under budget without leaving Microsoft Visual Studio. Our report design software installs directly into Visual Studio. With this fully functional – and free software, you'll spend less and save time developing rich, interactive reports. Save time using powerful report creation, integration, and delivery tools Deliver interactive, graphical reports on any device through an XML Web services model Distribute highly formatted reports in rich-client Windows environments Enjoy flexible data access with support for over 35 data sources, major browsers and operating systems Extend your application with seamless report integration into WPF applications Seamless upgrade to SAP Crystal Reports 2011 for added report functionality Download SAP Crystal Reports, developer version for Microsoft Visual Studio now › Share 2 Features and Functionality Collapse All Features and Functionality Learn more about the features and functions of SAP Crystal Reports, developer version for Microsoft Visual Studio. Powerful designer features for creating rich reports Flexible Windows and Web application features support development ASP.NET features support your ASP development efforts Broad data access enables multiple sources and dynamic data output Platform features provide support and management for SAP Crystal Reports projects Get all the details on SAP Crystal Reports, developer version for Microsoft Visual Studio features › Less Technical & License Resources Discover if SAP Crystal Reports, developer version for Microsoft Visual Studio is right for you. Get started by reviewing the technical, data access and license details. Access virtually any data sources via ODBC, OLE DB or native connections Licensed for report design, runtime distribution and report viewer distribution Add reporting to thick client and intern
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值