Mostrando entradas con la etiqueta Crystal Reports. Mostrar todas las entradas
Mostrando entradas con la etiqueta Crystal Reports. Mostrar todas las entradas

18 sept 2007

Instalar Componente CRYSTAL REPORTS en IIS 6

Hola !! despues de desarrollar una aplicacion, esta se migro a un servidor de produccion donde no estaba instalado el Visual Studio .Net 2005, asi que el componente de CRYSTAL nunca se registro. Al momento de ejecutar la aplicacion daba el siguiente error:

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

Source Error:
Line 33:
Source File: c:\inetpub\wwwroot\web.config Line: 33

La solucion es la siguiente:
1. Buscar en la maquina que tiene instalado VS.NET 2005 el archivo "CRRedist2005_x86.msi"
1.1 Si realizaron una instalacion tipica debe de estar en :
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\CrystalReports\CRRedist2005_x86.msi
1.2 Descargarlo de AQUI
2. Ejecutar el MSI en el servidor de Produccion
3. Reiniciar el Servidor COMPLETAMENTE (No solo el IIS)
4. Listo !!

Espero les sirva

Fuente

6 sept 2007

Como Formatear un Numero en Crystal Reports

Hola !! Estoy desarrollando algunos reportes en Crystal Reports y cuando hice un reporte de tipo Cross Tab, debia de unir los campos ID y NOMBRE, al hacerlo me dio el siguiente formato:

totext({emp_id})+' - '+{emp_name} --> 2,345.00 - Juan Perez

Asi que necesitaba cambiar el formato del Numero, Gracias a Google y algunos minutos de busqueda encontre este SITIO y ahi explican los parametros de la sintaxis de la funcion ToText.

ToText(x,y,z) --> x = Numero, y = Numero de Decimales, z = Separador de Miles

Ya con esa informacion finalmente pude cambiar el formato del Numero para que quedara tal como se requeria

ToText({emp_id},0,'')+' - '+{emp_name} --> 2345 - Juan Perez

----------------------------------------------------------------------------------

Hi !! I am developing some reports in Crystal Reports, And when I create a Cross Tab report, I need to join Employee ID + Employee Name, and I Got the following format:

totext({emp_id})+' - '+{emp_name} --> 2,345.00 - Juan Perez

So, I need to remove format from the ID, tnx to google and a few minutes I Finally found this SITE and they explain the parameters of TOTEXT instruction.

ToText(x,y,z) --> x = Number, y = Number of Decimals, z = Thousands Separatos Char

And with this information I finally manage to set up Number Format in Crystal Reports.

totext({emp_id},0,'')+' - '+{emp_name} --> 2345 - Juan Perez