Foros del Web » Programación para mayores de 30 ;) » .NET »

Error al mostrar reporte de Crystal en el Servidor (ASP.NET)

Estas en el tema de Error al mostrar reporte de Crystal en el Servidor (ASP.NET) en el foro de .NET en Foros del Web. Tengo mi aplicación que localmente funciona a la perfección, me muestra el reporte muy bien. Yo lo que hago para mostrar el reporte es exportarlo ...
  #1 (permalink)  
Antiguo 01/06/2004, 11:24
Avatar de RsOfT  
Fecha de Ingreso: marzo-2002
Ubicación: InterNET
Mensajes: 1.121
Antigüedad: 22 años, 1 mes
Puntos: 7
Error al mostrar reporte de Crystal en el Servidor (ASP.NET)

Tengo mi aplicación que localmente funciona a la perfección, me muestra el reporte muy bien. Yo lo que hago para mostrar el reporte es exportarlo mediante código a un PDF y lo que el usuario visualiza es el PDF. Esto lo lago porque el reporte visualizado con crystal no posee botón de imprimir, y se imprime feo por el botón de imprimir del browser.

Sucede que copio todo el proyecto para el servidor para ser ejecutado desde ahi cuando. Entra bien y lee la base de datos perfectamente, pero cuando voy a ejecutar el reporte, me sale el siguiente error:

Código:
File or assembly name CrystalDecisions.CrystalReports.Engine, or one of its dependencies, was not found.    
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.IO.FileNotFoundException: File or assembly name CrystalDecisions.CrystalReports.Engine, or one of its dependencies, was not found.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.CrystalReports.Engine' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
 (Fully-specified)
LOG: Appbase = file:///C:/Inetpub/wwwroot/ProgramasSQL/Procesos
LOG: Initial PrivatePath = bin
Calling assembly : ConsultaProceso, Version=1.0.1613.20055, Culture=neutral, PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/procesos/a6eb1362/1f643c13/CrystalDecisions.CrystalReports.Engine.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/procesos/a6eb1362/1f643c13/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/ProgramasSQL/Procesos/bin/CrystalDecisions.CrystalReports.Engine.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/ProgramasSQL/Procesos/bin/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/procesos/a6eb1362/1f643c13/CrystalDecisions.CrystalReports.Engine.EXE.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/procesos/a6eb1362/1f643c13/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.EXE.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/ProgramasSQL/Procesos/bin/CrystalDecisions.CrystalReports.Engine.EXE.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/ProgramasSQL/Procesos/bin/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.EXE.

 

Stack Trace: 


[FileNotFoundException: File or assembly name CrystalDecisions.CrystalReports.Engine, or one of its dependencies, was not found.]
   ConsultaProceso.ReporteMovP.Page_Load(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +731
Me podrían dar una pista de que es lo que está sucediendo?
__________________
.::RsOfT::.
--El que se aferra a lo conocido, nunca conocerá lo desconocido--
--Es intentando lo imposible como se realiza lo posible--
--Es de pésimo gusto contentarse con algo mediocre cuando lo excelente está a nuestro alcance--
  #2 (permalink)  
Antiguo 26/06/2004, 10:38
Avatar de splinter  
Fecha de Ingreso: junio-2004
Ubicación: Misantla,Ver.Mexico
Mensajes: 181
Antigüedad: 19 años, 10 meses
Puntos: 0
Eso me ha pasado a mi, segun leo necesito el registro del producto para poder ejecutarlo en el servidor de produccion, por lo pronto lo estoy consultando

saludos.
  #3 (permalink)  
Antiguo 26/06/2004, 10:48
Avatar de SunDarK  
Fecha de Ingreso: diciembre-2003
Ubicación: Jerez de la Frontera
Mensajes: 1.193
Antigüedad: 20 años, 4 meses
Puntos: 8
Efectivamente,mirad este enlace
http://msdn.microsoft.com/library/de...plications.asp
Salu2
  #4 (permalink)  
Antiguo 26/06/2004, 11:40
Avatar de sindestino  
Fecha de Ingreso: noviembre-2003
Ubicación: xxxx xxxx
Mensajes: 270
Antigüedad: 20 años, 5 meses
Puntos: 0
simplemente hay que instalar ciertos componentes del crystal reports en el servidor, el link de sundark está en lo correcto
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 22:08.