problema con mis reportes de crystal

12/08/2005 - 17:09 por William Contreras | Informe spam
Buenos dias señores, les cuento que tengo un problema que ya no se que hacer
con el. El problema es que mi aplicacion tiene reportes y cuando lo quiero
correr en otra maquina distinta a la mia me da el siguiente error cuando
quiero ver los reportes: SE INICIO UNA EXCEPCION EN EL INICIALIZADOR DE TIPO
CRYSTALdECISIONS.CRYSTALREPORTS.ENGINE.REPORTDOCUMENT
la verdad no se a que se debe esto. Por favor si alguien sabe a que se debe
le agradecere mucho que me ayude.
Saludos William Contreras
 

Leer las respuestas

#1 lolo
14/09/2005 - 10:34 | Informe spam
hola ya e solucionado ese problema..
es muy facil. hay que pasar la clave de crystal reports en la instalacion y
con eso listo.

os paso el metodo que lo vi en una web inglesa..

The reason you are getting this error is because the machine that you are
trying to run your application on does not contain the drivers Crystal Report
needs to run. Here is your solution:

Finding Out What the Crystal Report Distribution Key is on VS.NET 2003:

1- Open VS.NET 2003
2- Click on Help Menu Option
3- Choose "About Microsoft Development Environment"
4- Look under Crystal Reports for Visual Studio .NET, you will see a 19
character number, which is the Distribution Key Code:

Example: AAA00-BB00000-C0000DD

Producing the Deployment Project:

Open Solution Explorer, right click on the “Solution Name” at the top and
Add a New Project. On the window that appears, move to Setup and Deployment
Projects. Click on Setup Project (not the wizard), put a name for your
deployment project (make a note of the location where the folder that the
deployment project will be created in) and then click OK. A File System
dialog will appear – solution explorer should be displayed on the left of
screen. Within solution explorer – right click over your deployment project
and select Add – Project Output. Another window will appear – select Primary
Output (make sure configuration is showing Active) and click OK. This will
result in the detected dependencies being updated & a primary output icon
appearing in the deployment project. Right click on the deployment project
name again and Add – Merge Modules. Add the following modules.

Crystal_Database_Access2003.msm
Crystal_Database_Access2003_enu.msm
Crystal_Managed2003.msm
Crystal_regwiz2003.msm
VC_User_CRT71_RTL_X86_.msm
VC_User_STL71_RTL_X86_.msm

These were the appropriate modules for my application given that I am using
VS 2003. Yours may be slightly different.

Right click on Crystal_regwiz2003.msm and go to its properties. Enlarge the
MergeModuleProperties tree and enter the product licence key.

Go onto Build – Configuration Manager . Check that the Project & Deployment
Project which appear are set to “Release” and the Build check box for each is
checked. Build the Project. If all is well the build should show no errors.

If this has gone according to plan you should now have (in the folder
specified in the “location” window given when you added your deployment
project) a debug and release folder. The release folder will contain:

- setup (application)
- setup (config file)
- an installer package

The release folder is all that is needed to deploy the application on
another machine.

Note: The original source of this tutorial was
(http://www.vbcity.com/forums/topic.asp?tidg989).

"Marauder" escribió:

Hola, te escribo este correo para decirte que yo tengo el mismo error, si
encuentras la solucion y no te importa, me harias un gran favor si me dijeses
la solucion,yo seguire investigando y si la encuentro antes, te la mando.
Mi correo es
Muchas gracias de antemano.

Preguntas similares