Foros del Web » Programando para Internet » ASPX (.net) »

Problema con Crystal Reports

Estas en el tema de Problema con Crystal Reports en el foro de ASPX (.net) en Foros del Web. Hola, He creado una aplicacion que me crea un pdf con crystal reports. En local me funciona bien, pero cuando lo subo al servidor me ...
  #1 (permalink)  
Antiguo 29/01/2008, 08:22
Avatar de Javier Santamaria  
Fecha de Ingreso: julio-2007
Mensajes: 296
Antigüedad: 16 años, 9 meses
Puntos: 1
Problema con Crystal Reports

Hola,

He creado una aplicacion que me crea un pdf con crystal reports. En local me funciona bien, pero cuando lo subo al servidor me da fallos.

El primer error que me mostraba era:
************************************************** ********
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
************************************************** ********


He cambiado esa clave del registro y reiniciado el servidor y ahora me dice esto:
************************************************** ********
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

<add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.

=== Pre-bind state information ===
LOG: User = ICGJUPITER\ASPNET
LOG: DisplayName = CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/PetVPriceChecker/
LOG: Initial PrivatePath = c:\inetpub\wwwroot\PetVPriceChecker\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: c:\inetpub\wwwroot\PetVPriceChecker\web.config
LOG: Using host configuration file: c:\winnt\microsoft.net\framework\v2.0.50727\aspnet .config
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v2.0.50727\config \machine.config.
LOG: Post-policy reference: CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
************************************************** ********

PD: Estos errores me los da en el web.config
PD2: El servidor tiene instalado el fframework 2.0 y Crystal Reports

¿Alguien sabe que debo hacer para solucionarlo?

Muchas gracias por vuestra ayuda.

Saludos
  #2 (permalink)  
Antiguo 01/02/2008, 06:36
Avatar de Javier Santamaria  
Fecha de Ingreso: julio-2007
Mensajes: 296
Antigüedad: 16 años, 9 meses
Puntos: 1
Re: Problema con Crystal Reports

Hola,

Perdon por la tardanza, pero ya lo resolvi. Me comentaron que comprobase el valor de las keytokens en el GAC del servidor. Al comprobarlo me di cuenta de que eran iguales, pero que la version de las del servidor era la 11.X y las de mi proyecto era la 10.X. Por tanto, instale el Crystal Reports desde el disco donde instale mi entorno de desarrollo, y al cambiar la version y coincidir con la que mi aplicacion tenia funciono perfectamente.

Muchas gracias a todos.

Saludos
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 05:42.