Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/06/2004, 11:24
Avatar de RsOfT
RsOfT
 
Fecha de Ingreso: marzo-2002
Ubicación: InterNET
Mensajes: 1.121
Antigüedad: 22 años, 2 meses
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--