Crystal Support 之最高阅览量文章:怎样部署使用 Crystal Reports 和 VS.NET 的程序?(翻译:海波.NET)

haibodotnet 2003-10-09 10:44:52
Crystal Support 之最高阅览量文章:怎样部署使用 Crystal Reports 和 VS.NET 的程序?(翻译:海波.NET)

大纲

怎样部署使用 Crystal Reports 和 VS.NET 的程序?

====================
注意:

在部署使用 Crystal Reports 和 Visual Studio .NET 的程序之前,你必须确认下列信息:

与 Visual Studio .NET 一起使用的 Crystal Reports 版本。可能的版本为:

- Crystal Reports for Visual Studio .NET 2002
- Crystal Reports for Visual Studio .NET 2003
- Crystal Reports 9
- Crystal Reports 9.2

Crystal Reports 管理组件的“程序集版本”。

要检查 Crystal Reports 管理组件的“程序集版本”,查看 Visual Studio .NET 里的 “项目” > “引用”。
Crystal Reports 管理组件包括:

- CrystalDecisions.CrystalReports.Engine
- CrystalDecisions.Shared
- CrystalDecisions.Reportsource
- CrystalDecisions.Web
- CrystalDecisions.Windows.Forms.

所有 Crystal Reports 管理组件的“程序集版本”必须相同。

====================
解决方案:

要部署使用 Crystal Reports for Visual Studio .NET 2002 的程序
------------------------------------------------

1. 确保 Crystal Reports 管理组件的“程序集版本”为 9.1.3300。

2. 下载完整的 crnet 部署指南:
http://support.crystaldecisions.com/communityCS/TechnicalPapers/crnet_deployment.pdf.asp?recDnlReq=Record&dnlPath=crnet_deployment.pdf


要部署使用 Crystal Reports for Visual Studio .NET 2003 的程序
------------------------------------------------

1. 确保 Crystal Reports 管理组件的“程序集版本”为 9.1.5000.0。

2. 下载完整的 crnet 部署指南:
http://support.crystaldecisions.com/communityCS/TechnicalPapers/crnet_deployment.pdf.asp?recDnlReq=Record&dnlPath=crnet_deployment.pdf

3. 使用下列合并模块替换'crnet_deployment.pdf'里的合并模块:

Crystal_Database_Access2003.msm
Crystal_Database_Access2003_enu.msm
Crystal_Managed2003.msm
Crystal_regwiz2003.msm
VC_User_CRT71_RTL_X86_---.msm (被基于 ADO.NET 的报表使用used for reports
based on ADO.NET)
VC_User_STL71_RTL_X86_---.msm (被基于 ADO.NET 的报表使用used for reports
based on ADO.NET)


要部署使用 Crystal Reports 9 (仅限于 Visual Studio 2002)
------------------------------------------------

1. 确保 Crystal Reports 管理组件的“文件版本”为 9.2.9466.x。

通过查看"\Program Files\Common Files\Crystal Decisions\2.0\Managed\" 文件夹里的、任何管理组件 CrystalDecisions.xxx.dll 的属性,获得“文件版本”;或者通过查看全局访问缓存 (\winnt\assembly)里的相应程序集。

要查看全局访问缓存里的“文件版本”,找到任何一个“程序集版本”为 9.2.3300.0 的 Crystal Decisions 管理组件程序集(例如 CrystalDecisions.CrystalReports.Engine),在文件上右击并选择“属性”。

选择“版本”选项卡,并检查“文件版本”。

2.下载完整的 cr9net 部署指南:
http://support.crystaldecisions.com/communityCS/TechnicalPapers/cr9net_deployment.pdf.asp?recDnlReq=Record&dnlPath=cr9net_deployment.pdf

3. 下载 Crystal Reports 9 合并模块。这些合并模块可能组成一个基于 Microsoft Installer (MSI) 安装包,以包含相应的运行时文件。
http://support.crystaldecisions.com/communityCS/FilesAndUpdates/cr9netmergemodules.zip.asp?recDnlReq=Record&dnlPath=cr9netmergemodules.zip

4. 如果你要部署到一个 Web 服务器,你可以安装预编译 MSI installer 包,已提供下载,用作一次性部署。这个分发包安装 .NET 程序需要的所有 Crystal 运行时文件。下载预编译 MSI installer 包:
http://support.crystaldecisions.com/communityCS/FilesAndUpdates/cr9netredist.zip.asp?recDnlReq=Record&dnlPath=cr9netredist.zip


要部署使用 Crystal Reports 9.2 (和 Visual Studio 2002 和 2003)
To deploy an application that uses Crystal Reports 9.2 (with Visual Studio 2002 and 2003)
------------------------------------------------

1. 确保 Crystal Reports 管理组件的“文件版本”为 9.2.9500.x。
1. Ensure that the File version of the Crystal Reports managed components is 9.2.9500.x.

通过查看"\Program Files\Common Files\Crystal Decisions\2.0\Managed\" 文件夹里的,任何管理组件 CrystalDecisions.xxx.dll 的属性,获得“文件版本”;或者通过查看全局访问缓存 (\winnt\assembly)里的程序集。

要查看全局访问缓存里的“文件版本”,找到任何一个“程序集版本”为 9.2.3300.0 的 Crystal Decisions 程序集(例如 CrystalDecisions.CrystalReports.Engine),在文件上右击并选择“属性”。

选择“版本”选项卡,并检查“文件版本”。

2.下载完整的 cr9net 部署指南:
http://support.crystaldecisions.com/communityCS/TechnicalPapers/cr9net_deployment.pdf.asp?recDnlReq=Record&dnlPath=cr9net_deployment.pdf

3. 使用合并模块'dotnetruntime.msm'替换'cr9net_deployment.pdf'里的'crnetruntime.msm'

你可以在 Crystal Reports 9.2 光盘的 '\redist\dotnet\msm' 文件夹里找到所需的合并模块。

4. 如果你要部署到一个 Web 服务器,你可以安装光盘里的、用作一次性部署的预编译 MSI installer 包。这个分发包安装 .NET 程序需要的所有 Crystal 运行时文件。预编译 installer 包在光盘的 "\redist\netsvr.msi" 文件夹里。
http://support.crystaldecisions.com/communityCS/FilesAndUpdates/cr9netredist.zip.asp?recDnlReq=Record&dnlPath=cr9netredist.zip

====================
注意:

当与 Visual Studio 2003 里的 ADO.NET 一起使用 Crystal Reports 9.2 时,进行下列合并模块的替换:

Vc_crt.msm - 被 VC_User_CRT71_RTL_X86_--- .msm 替换
Vc_stl.msm - 被 VC_User_STL71_RTL_X86_-- -.msm 替换
Vc_crt.msm - replace with VC_User_CRT71_RTL_X86_--- .msm
Vc_stl.msm - replace with VC_User_STL71_RTL_X86_-- -.msm

你可以 'C:\Program Files\Common Files\Merge Modules' 文件夹下找到替换的合并模块。
====================

其他资源
-------------------

要查找下面的部署白皮书,访问:

http://support.crystaldecisions.com/search

Crystal Reports 9 应用程序部署白皮书 - cr9net_deployment.pdf

Crystal Reports 9 for Visual Studio .NET 应用程序部署白皮书 - crnet_deployment.pdf
...全文
32 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
jpyc 2003-10-10
  • 打赏
  • 举报
回复
严重支持!
haibodotnet 2003-10-10
  • 打赏
  • 举报
回复
以后将翻译其它精华文章,彻底水晶一下……
haibodotnet 2003-10-09
  • 打赏
  • 举报
回复
大家一起到这里支持一下!!!
http://expert.csdn.net/Expert/TopicView1.asp?id=2291055
CSDN 开个 Crystal Report 版吧!!!&&&我与水晶报表……
haibodotnet 海波.NET
软件保护与破解始终在战斗中发展,本资源提供的软件保护程序.net源代码。破解软件为reflector,收集了所有的插件,大部分为源代码 (软件保护源代码可是找了一年才找到,可是源代码啊,对研究软件保护技术太有帮助了,基本上保护措施都有了,可以参见www.pediy.com网站出的书,我改造了一下在自己产品中使用,对reflector进行了防护,改造的程序不放出也不卖,否则高手知道我怎么防护的就很容易写个reflector插件破解我产品了,大家可以拿代码研究自己改造,最好参考单海波等人写的《微软.net程序加密与解密》这本书,不是为他们书做广告,因为是2008年出版的,想买可能也买不到了,基本上把书里讲到的软件保护技术都实现了,如果不是源代码出自国外牛人,还真认为他们是一伙的) 软件保护支持特性: 1. Name Obfuscation 2.User Strings Encryption 3.Proxy for external/internal 4.constructors/methods 5.Adding Incorrect Metadata 6.Control Flow Obfuscation 7.Compress Output Assembly 反编译reflector软件插件列表: 1.CodeMetrics: Analyses .NET assemblies and shows design quality metrics. 2.Review: Allows editing and managing annotations during code reviews. 3.Diff: This add-in shows differences between two versions of the same assembly. 4.Pex: Use the Pex Wizard directly from Reflector (requires .NET 2.0) 5.Snippy: Snippy is a light weight snippet compiler integrated into .NET Reflector. 6.SilverlightLoader: Allows browsing the structure of a website and loading Silverlight assemblies. 7.FileDisassembler: This add-in can be used to dump the disassembler output to files for any Reflector supported language. 8.Reflexil: Allows to manipulate the IL of a loaded assembly, or inject VB.net/C# code, then write the changes to disk. 9.BamlViewer: Load BAML resources (WPF) and render in XAML format. 10.SilverlightBrowser: Loads and shows the files associated with a Silverlight website. 11.ComLoader: Lists COM components for browsing and converts them into managed interop assemblies. 12.SQL2005Browser: This add-in allows to browse .NET assemblies stored in SQL Server 2005 databases. 13.FileGenerator: This add-in can be used to dump the disassembler output to files for any Reflector supported language. 14.Deblector: This add-in allows to debug processes from within Reflector. 15.Doubler: A code generator for unit tests, stubs and wrappers. 17.Graph: This add-in draws assembly dependency graphs and IL graphs. Please read the install instructions here. 18.BizTalkDisassembler: Allows you to list all BizTalk artifacts contained in an assembly and extract them. 19. DependencyStructureMatrix: Allows you to create and browser dependency structure matrices. 20.CodeSearch: This add-in allows searching for strings and regular expressions in disassembled code. 21.RuleSetEditor: Editor for Windows Workflow Foundation rules. 22.AssemblyListEx:Register a file type association for predefined lists of assemblies to load into Reflector. 23.SequenceViz: This add-in draws sequence diagrams. 24.AutoDiagrammer: This add-in draws class diagrams. 25.Xmi4DotNet: Export an assembly to XMI/UML. 26.AssemblyCollectionSort: Sorts the current assembly list alphabetically. 27.Enums: Conversion of big flags and enum viewer. 28.PowerShellLanguage: Renders output as Windows PowerShell script. 29.DelphiLanguage: The Delphi view that is used inside .NET Reflector provided as a language add-in. 30.CppCliLanguage: This add-in extends Reflector with a C/CLI language rendering module. 31. ReflectionEmitLanguage: This add-in renders C# code necessary to create the given IL body. 32. TestDriven.net: This Visual Studio add-in can navigate to any code element inside Reflector with a single click. 33. Hawkeye: A tool that allows you to debug the UI tree of Windows Forms applications. 35. ClassView: Shows class definitions as plain text with color coding. 36. CodeModelViewer: This add-in shows the underlying code model objects for selected items.

1,978

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 其他语言讨论
社区管理员
  • 其他语言社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧