1) Error al generar el instalador
Descripción: Al momento de Generar el instalador se queda
en un loop (bucle) infinito y no termina el proceso.
Solución: Por editor revisar el archivo crystl32.dep donde
encuentras:
[CRPE32.DLL]
Dest=$(WinSysPath)
Uses1=CRPE32.DLL
Uses2=
Se debe cambiar por:
;[CRPE32.DLL]
;Dest=$(WinSysPath)
;Uses1=CRPE32.DLL
;Uses2=
Fuente: Alberto (Foro en la Web del Programador)
2) Error al registrar archivo msado25.tlb
Descripción: Al momento de ejecutar la instalación presenta
el error.
Solucion: El instalador genera un archivo setup.lst. Este
archivo se debe editar y buscar el registro del archivo
msado25.tlb y en la parte donde está $(DLLSelfRegister),
cambiarlo por $(TLBRegister).
Fuente: Jorge (Foro Visual Basic de Microsoft Latam)
3) Error al registrar archivo CRAXDDRT.DLL
Descripción: Existen varios errores que se presentan al
momento de registrar librerias de Crystal Reports como
Craxdrt.dll, craxddrt.dll, otras (no necesariamente de
crystal reports)
Solución:
Paso 1:
Si el sistema es windows 95, 98 o Millenium debe instalar
previamente el dcom98. Se puede bajar de la pagina de
Microsoft.
Paso 2:
Es importante actualizar el programa de acceso a datos
Mdac_type.exe ver 2.6 (también se puede bajar de la pagina
de microsoft) y reemplazar el que existe en \Archivos de
Programa\Microsoft Visual
Studio\VB98\Wizards\PDWizard\Redist
Este programa es incluido automáticamente en el instalador.
Nota: Ya existe la versión 2.7 del mdac_type.exe, la cual
no he trabajado
Fuente: Carla Castillo (Foro La web del programador)
Muchos de los problemas que se presentan cuando el
intalador está tratando de registrar librerias es que la
libreria usa DLLs del sistema operativo (dependencias) que
no están presentes al momento del registro y por lo tanto
no las puede registrar. A continuación se incluye una
recopilación de información acerca del registro de las
librerias de Crystal Reports 8.5 Developer:
FUENTE: Danny Ariza (Ing.Soporte Seagate Software
Colombia) extraida de la página de Crystal Decision.
The required runtime files for an application developed
using the
Embeddable Crystal Reports Designer Control are listed
below.
FILE LOCATION
DESCRIPTION
CRAXDRT.DLL \PROGRAM FILES\SEAGATE
SOFTWARE\REPORT DESIGNER
COMPONENT ActiveX Designer RuntimeSupport DLL
CRAXDDRT.DLL \PROGRAM FILES\SEAGATE SOFTWARE\REPORT
DESIGNER
COMPONENT ActiveX Designer and Runtime Support DLL
CRDESIGNERCTRL.DLL \PROGRAM FILES\SEAGATE
SOFTWARE\REPORT DESIGNER
COMPONENT Embeddable Crystal Designer Control
CRVIEWER.DLL \PROGRAM FILES\SEAGATE
SOFTWARE\VIEWERS\ACTIVEXVIEWER
Crystal Report Viewer
NOTE: You must register these DLLs using regsvr32.exe.
NOTE: The Crystal Report Viewer DLL needs to be distributed
if reports
are being printed to the screen. If the reports are being
exported or
printed to the printer, and not being viewed to a window,
then this DLL
is not required.
NOTE: The Crystal Reports ActiveX Designer Design and
Runtime Support
DLL(CRAXDDRT.DLL) needs to be distributed with the
Embeddable Crystal
Reports Designer Control. For more information see
"Unification of the
RDC object model" in the Crystal Reports Developer Help
(CrystalDevHelp.chm).
NOTE: We recommend distributing the Crystal Reports ActiveX
Designer
Runtime Support DLL (CRAXDRT.DLL) in order to maintain
backwards
compatibility with existing applications that are using the
RDC.
FILE LOCATION
DESCRIPTION
IMPLODE.DLL \WINDOWS\SYSTEM or
\WINDOWS\SYSTEM32 (NT
only) Compression Library
SSCSDK80.DLL \PROGRAM FILES\SEAGATE SOFTWARE\SHARED
Charting DLL
PG32CONV.DLL \PROGRAM FILES\SEAGATE SOFTWARE\SHARED
Auxiliary
Charting DLL
CRPAIG80.DLL \WINDOWS\SYSTEM or \WINDOWS\SYSTEM32 (NT
only)
Text object DLL
MFC42.DLL \WINDOWS\SYSTEM or
\WINDOWS\SYSTEM32 (NT
only) MFCDLL Shared Library
MSVCRT.DLL \WINDOWS\SYSTEM or
\WINDOWS\SYSTEM32 (NT
only) C Runtime Library
NOTE: Include IMPLODE.DLL only for applications using
reports created in
versions previous to SCR 8.
In order to register craxdrt.dll:
- The implode.dll file must be on the client computer. The
client computer should have the same
version of implode.dll that the development computer has.
- The version of mfc42.dll on your computer should be
version 6 or higher.
-----------------------------------------------------------
-----------------------------------------------------------
---------------------------------------
Runtime File Requirements for the Report Designer Component
version 8.5
The information in the article refers to:
Report Designer Component 8.5
Applies to:
Reported version only
Distribution
Runtime File Requirements
Synopsis
What runtime files do you need to distribute with your
application when using the Report Designer
Component (RDC) version 8.5 as the reporting development
tool?
Solution
The runtime files you require to distribute an application
developed using the Report Designer
Component (RDC) are listed below. These files are installed
to the \Windows\System (Microsoft
Windows 9x) folder by default, however you can also install
them to the application folder.
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 version 8.5 there are four main
components:
- Craxdrt.dll - The Crystal Reports 8.5 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.
- CRViewer.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 8.5
Designer Control. This DLL is new to Crystal
Reports 8.5. This DLL exposes report creation and designer
capabilities in your application and allows
you to create a report at runtime using an ActiveX
designer.
- Craxddrt.dll - Crystal Reports 8.5 ActiveX Designer
Design and Runtime DLL. This DLL is new to
Crystal Reports 8.5. 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 would not distribute CRDesignerCtrl.dll and
Craxddrt.dll.
For a listing of the dependency files for the Report
Designer Component and the Embeddable Crystal
Reports Designer Control, refer to 'Runtime.hlp' and look
under 'Method Used to Access the Crystal
Report Engine'.
Note: =======
In addition to the dependency files listed in
'Runtime.hlp', the four main components of the RDC also
require these dependency files:
Craxdrt.dll: Mfc42.dll, Msvcrt.dll, Msvcp60.dll,
Comdlg32.dll, Comctl32.dll
CRViewer.dll: Comctl32.dll
CRDesignerCtrl.dll: Msvcrt.dll, Comctl32.dll
Craxddrt.dll: Mfc42.dll, Msvcrt.dll, Msvcp60.dll,
Comctl32.dll, Comdlg32.dll, Msvcirt.dll
============
ACTIVE DATA
If your reports use Active Data (ADO, CDO, DAO, RDO, etc)
you need to distribute the Active Data
driver, P2smon.dll (plus its dependencies). P2smon.dll is
dependent upon the following files:
Msvcirt.dll
Msvcp60.dll
Msvcrt.dll
DATABASE DLLs
If the reports are not using Active Data and are using
connections (native, ODBC, or OLE DB) to
physical databases (such as Microsoft Access or SQL
Server), refer to 'Runtime.hlp' and look under
'Data Access' for more information.
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.hlp' and look under 'Exporting' for more
information.
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 U2xxxxx.dll (UFL)
file must be included in the distribution. If
the function is one of the Crystal Reports sample User
Defined Functions, include the Uflsampl1.dll
file.
Refer to 'Runtime.hlp' and look under 'Additional
Components' then 'User Function Libraries' for more
information.
Note: ========
- Other DLLs that a Crystal report may use and need to be
distributed are:
ODBC files, RDO/DAO/CDO files, OLE DB core & providers, SQL
Server/Oracle clients, Access
(DAO/JET) files/engines, etc.
- For further information about runtime file requirements
for the RDC go to
http://support.crystaldecisions.net/kbase and search for
articles C2007290 and C2002369.
ERROR AL UTILIZAR EL PROGRAMA regsvr32.exe
"LoadLibrary ("c:\program") failed. GetLastError returns
0X00000485."
Why does this occur?
Solution
This error message occurs because you must enclose the path
to each DLL in quotation marks.
When registering DLLs that are not located in the Windows
directory or sub-directories, you must
enclose the entire path to the DLL in quotation marks.
The simplest way to do this is to use the drag-and-drop
method to register DLLs. First, you must
extract the DLLs to the "C:\Program Files\Seagate
Software\Shared" directory.
To successfully register the dependency DLLs, complete the
following steps:
1. In Windows, click 'Start', and then click 'Run'. The
'Run' dialog box appears.
2. In the 'Run' box, type REGSVR32. Do not click 'OK' yet.
3. Launch Windows Explorer and browse to the directory to
where you placed
ExportModeller.dll and CRTSLV.dll.
4. Drag the ExportModeller.dll icon into the 'Run' box.
This inserts the correct path, surrounded
by quotation marks.
You will see the following after you drag the dependency
DLL into the 'Run' box:
regsvr32 "C:\Program Files\Seagate
Software\Shared\filename[1]\crtslv.dll"
5. Click 'OK'.
The following confirmation appears:
"DllRegisterServer in <drive letter>:\Program Files\Seagate
Software\Shared\ExportModeller.dll
succeeded"
6. Repeat steps 1 to 5 to successfully register CRTSLV.dll.
You have now successfully registered the dependency DLLs.
La ultima parte la hacer para unas DLL en particular
(CRTSLV.DLL y ExportModeller.DLL) pero en
general es para cualquiera.
Espero que les sirva de ayuda.