Código:
Lo extraño del caso es que yo hice una aplicación en ASP.NET anteriormente y el reporte funciona perfectamente. Es más actualmente está funcionando.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/ClientesQuebrados LOG: Initial PrivatePath = bin Calling assembly : ClientesQuebrados, Version=1.0.1664.16658, 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/clientesquebrados/d395b002/a59926d3/CrystalDecisions.CrystalReports.Engine.DLL. LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/clientesquebrados/d395b002/a59926d3/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.DLL. LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/ProgramasSQL/ClientesQuebrados/bin/CrystalDecisions.CrystalReports.Engine.DLL. LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/ProgramasSQL/ClientesQuebrados/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/clientesquebrados/d395b002/a59926d3/CrystalDecisions.CrystalReports.Engine.EXE. LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/clientesquebrados/d395b002/a59926d3/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.EXE. LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/ProgramasSQL/ClientesQuebrados/bin/CrystalDecisions.CrystalReports.Engine.EXE. LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/ProgramasSQL/ClientesQuebrados/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.] ClientesQuebrados.Index.bntImprimir_Click(Object sender, EventArgs e) +0 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain() +1277 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Lo único que hice ahora fue quitar un key que genera y lo coloca en:
<compilation defaultLanguage="vb" debug="true"><assemblies></assemblies></compilation>
Pero cuando tenía ese key, la página no subía en el server, solo en mi PC.
Al quitarle el key, la página se ejecuta perfectamente, pero el reporte no funciona...
Qué puedo hacer?
