水晶报表需要注册那些组件。

newmung 2003-10-20 12:13:23
我在一台服务器只安装了.NET框架
我现在要使用水晶报表,需要再注册那些组件?
...全文
107 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
古人猿类 2003-10-28
  • 打赏
  • 举报
回复
水晶报表我还没用过,我马上回去学也!
vikey 2003-10-28
  • 打赏
  • 举报
回复
在哪注册呀
haibodotnet 2003-10-22
  • 打赏
  • 举报
回复
ACTIVE DATA

If your reports use Active Data (ADO, CDO, DAO, RDO, etc) you need to distribute the correct Active Data driver. Refer to 'Runtime.chm' and look under 'Database Access' then 'Active Data' for more information.

DATABASE DLLs

If the reports are not using Active Data and are connectioning (native, ODBC, or OLE DB) to physical databases (such as Microsoft Access or SQL Server), refer to 'Runtime.chm' and look under 'Database Access' for more information. Database DLL names start with crdb_*.dll or p2*.dll.

EXPORTING DLLs

Distribute these DLLs if your application has exporting functionality. Only those DLLs distributed will be valid options for exporting. For example, if only U2ddisk.dll and U2fcr.dll are distributed, then you can only export a report to a file disk in a Crystal Report format.

Refer to 'Runtime.chm' and look under 'Exporting' for more information.

====================
NOTE:

Exporting to HTML

To export to HTML format you must include these runtime files in the "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" folder:

-- Crxf_html.dll
-- ReportRenderer.dll (Register this file using regsvr32.exe)
-- PageObjectModel.dll (Register this file using regsvr32.exe)
-- WebReporting.dll (Register this file using regsvr32.exe)
-- Commonobjmodel.dll (Register this file using regsvr32.exe)
-- Rptdefmodel.dll (Register this file using regsvr32.exe)
-- U2fcompress.dll

-- Gdiplus.dll (Due to licensing restrictions, you must get gdiplus.dll from the Microsoft web site. Go to http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdkredist.htm and select "GDI+ RTM").

The report engine merge module includes
-- Crxf_html.dll
-- ReportRenderer.dll
-- PageObjectModel.dll
-- WebReporting.dll

You will need to add the following files to your install package manually in order to succesfully permit exporting to HTML:

-- U2fcompress.dll
-- Commonobjmodel.dll
-- Rptdefmodel.dll
-- Gdiplus.dll

If you are missing a file, then you will receive the error message: Run-Time Error '-2147190908 (80047784): Failed to export the Report"
====================


USER FUNCTION LIBRARIES (UFL)

If your report uses a User Defined Functions (a function listed in the Formula Editor's Additional Functions section), then the associated U2*.dll (UFL) file must be included in the distribution.

Refer to 'Runtime.chm' and look under 'Additional Components' then 'User Function Libraries' for more information.

====================
NOTE:

Other DLLs that a Crystal report may use (and need to distribute) include:

ODBC files, RDO/DAO/CDO files, OLE DB core & providers, SQL Server/Oracle clients, Access (DAO/JET) files/engines.
====================
haibodotnet 2003-10-22
  • 打赏
  • 举报
回复
The runtime files you require to distribute an application developed using the RDC are listed below.

====================
NOTE:

Crystal Reports components now support side-by-side installation. This type of installation allows multiple versions of previously shared DLLs to be installed on the same machine.

The DLLs are isolated on the machine allowing applications that require different versions of the same shared DLL to be installed on the same machine. You could have an application using version 9 of the Report Designer Component (RDC) running on the same machine as an application using a previous version of the RDC.
====================

The Crystal Reports runtime files required for distribution with your application are dependent on the following:

- The method used to access the Crystal Report Engine.

- The data source your reports use.

- The exporting options you want available to end-users.

- Any additional components you may be using such as charts, maps, additional formula language functions, and so on.

When using the RDC 9 there are four main components:

- Craxdrt9.dll - The Crystal Reports 9 ActiveX Designer Runtime DLL. This DLL is the reporting engine and it exposes the Object Model Hierarchy. Distribute this DLL with all applications using the RDC.

- CRViewer9.dll - The Crystal Reports View Control. Use this component to preview your report. If you are not previewing the report, then it is not necessary to distribute this DLL.

- CRDesignerCtrl.dll - Embeddable Crystal Reports 9 Designer Control. This DLL exposes report creation and designer capabilities in your application and allows you to create a report at runtime using an ActiveX designer.

- Craxddrt9.dll - Crystal Reports 9 ActiveX Designer Design and Runtime DLL. This DLL is the engine used to design and format reports at design time, as well as to access and process reports at runtime.

Not all of these DLLs need to be distributed with your application. Only distribute these DLLs if you use them in your application. For example, if you do not use the Embeddable Designer Control, then you do not distribute CRDesignerCtrl.dll and Craxddrt9.dll.

For a listing of the dependency files for the Report Designer Component and the Embeddable Crystal Reports Designer Control, refer to 'Runtime.chm' and look under 'Method Used to Access the Crystal Report Engine'.

====================
NOTE:

In addition to the dependency files listed in 'Runtime.chm', the four main components of the RDC also require these dependency files:

Craxdrt9.dll: Mfc42.dll, Msvcrt.dll, Msvcp60.dll, Comdlg32.dll, Comctl32.dll
CRViewer9.dll: Comctl32.dll
CRDesignerCtrl.dll: Msvcrt.dll, Comctl32.dll
Craxddrt9.dll: Mfc42.dll, Msvcrt.dll, Msvcp60.dll, Comctl32.dll, Comdlg32.dll, Msvcirt.dll
====================

STEPS REQUIRED TO ALLOW PRINTING OF A REPORT THROUGH AN APPLICATION (NO VIEWING):

- Microsoft dependency files that must be in place
-- Mfc42.dll (version 6.0.8447.0 or higher)
-- Msvcrt.dll (version 6.0.8397.0 or higher)
-- Msvcp60.dll (version 6.0.8168.0 or higher)

- Other dependency files (to be placed in the <%systemroot%>\system32 folder)
-- Comdlg32.dll
-- Comctl32.dll
-- Riched20.dll
-- Usp10.dll

- Crystal Runtime files that need to be installed (recommended to install in this order)

-- Run CR9Deploy.reg; (or modify this file to where you will have your bin folder, the rest of this article assumes that the bin folder location is "C:\Program Files\Common Files\Crystal Decisions\2.0\bin") refer to 'Runtime.chm' and look under 'Side-by-side installation' for more information.

-- Copy Unicows.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin". Include unicows.dll (version 1.0.3703.0 or higher) into distributions that are targeted for Windows 9x computers. For more information, refer to knowledge base article c2011871

-- Copy Craxdrt9.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)

-- Copy the following dependency files to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin"
--- Implode.dll (for applications using reports created in versions previous to Crystal Reports 8)
--- Querybuilder.dll
--- Ufmanager.dll
--- Atl.dll (There are two versions of Atl.dll one for Win9x and another for WinNT/Win2000. Please refer to special instructions in 'Runtime.chm' and look under 'Additional Components' and then 'Paged-ranged export' for more information.)

-- Copy Crqe.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)

-- Copy keycode.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)


STEPS REQUIRED TO ALLOW VIEWING OF A REPORT IN AN APPLICATION (TO BE ADDED TO THE PREVIOUS STEPS):

- Copy Crviewer9.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)


STEPS REQUIRED TO ALLOW THE EMBEDDABLE DESIGNER TO WORK (TO BE ADDED TO THE PREVIOUS STEPS):

- Copy Crdesignerctrl.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)

- Copy Craxddrt.dll to "C:\Program Files\Common Files\Crystal Decisions\2.0\bin" (Register this file using regsvr32.exe)
dingyy 2003-10-22
  • 打赏
  • 举报
回复
gz
haibodotnet 2003-10-22
  • 打赏
  • 举报
回复
很多……
1、合并模块:
VC_CRT.msm
VC_STL.msm
2、此外,确保 Msvcr70.dll 和 Msvcp70.dll 在计算机的“系统目录”里。
newmung 2003-10-22
  • 打赏
  • 举报
回复
up
newmung 2003-10-20
  • 打赏
  • 举报
回复
回复人: wjhs(杰借)

哪几个,给我值个路径啊,是不是
D:\Program Files\Common Files\Crystal Decisions\1.1\Managed
D:\Program Files\Common Files\Crystal Decisions\1.1\Managed\zh-CHS
共十个
haibodotnet 2003-10-20
  • 打赏
  • 举报
回复
安装这些程序……

水晶报表 9 的下载!
ftp://ftp.cust.edu.cn/tsinghua/202.113.29.4/pub/win32/devel/CrystalReport9.0Chs

水晶报表 9.2 的下载!
ftp://211.140.160.74/水晶报表92.iso
wjhs 2003-10-20
  • 打赏
  • 举报
回复
不是要注册这几个,大概有9个,都在一块的。
newmung 2003-10-20
  • 打赏
  • 举报
回复
我在“引用”中有
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Web
CrystalEnterpriseLib
CrystalInfoStoreLib
CrystalReportPluginLib

我是不是只注册这个几个组件就行?

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

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