1.       Hola Amigos, necesito ayuda con el siguiente error, en mi pc la 
aplicación funciona perfectamente pero cndo la publico en el server da este 
error, específicamente en las páginas con componentes Crystal, todo lo demás 
funciona bien (el error en el texto rojo debajo), es como si la aplicación 
hiciese referencia a una dll que no está, ya le puse unas cuantas dlls de 
cristal en el folder Bin pero igual, solo cambia el file/assembly al que hace 
referencia, pero todos son de crystal. En mi pc por supuesto funciona bien 
porque tengo instalado VS2008 y todo lo demás pero en el server evidentemente o 
me falta algo por instalar o necesito agregarle alguna dll al bin del proyecto 
cndo lo publico??

 

2.       De paso preguntar ¿qué debo tener instalado en el server web (que es 
un W2003SP2 + IIS 6.0 + Framework) para que todas mis aplicaciones .Net me 
funcionen bien? ¿Tengo que poner en el Bin todas las dlls que tengo referencia 
en mi proyecto al momento de publicarlo? Tengo duda en este sentido, en cuanto 
a las referencias y cndo agregarlas al Bin o cndo no... 

 

Cualquier ayuda es bienvenida. Gracias de antemano.   

 

 

 

Server Error in '/rrhh/Montas' Application.

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

 

Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, 
Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one 
of its dependencies. The system cannot find the file specified. 

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: Could not load file or 
assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.5.3700.0, 
Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. 
The system cannot find the file specified.

 

Source Error: 

 

 

Line 46:                     HasToggleGroupTreeButton="False" 
HasViewList="False" 

Line 47:                     HasZoomFactorList="False" />

Line 48:                 <CR:CrystalReportSource ID="CrystalReportSource1" 
runat="server">

Line 49:                     <Report FileName="Monta.rpt">

Line 50:                         <Parameters>

 

 

Source File: d:\inetpub\wwwroot\rrhh\Montas\Monta.aspx    Line: 48 

 

Assembly Load Trace: The following information can be helpful to determine why 
the assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.5.3700.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].

 

 

 

Stack Trace: 

 

 

[FileNotFoundException: Could not load file or assembly 
'CrystalDecisions.ReportAppServer.CommLayer, Version=10.5.3700.0, 
Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. 
The system cannot find the file specified.]

   CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +0

 

[TypeInitializationException: The type initializer for 
'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]

   CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0

   CrystalDecisions.ReportSource.CachedReport.get_ReportDocument() +36

   CrystalDecisions.Web.CrystalReportSource.set_Report(Report value) +255

   ASP.monta_aspx.__BuildControlCrystalReportSource1() in 
d:\inetpub\wwwroot\rrhh\Montas\Monta.aspx:48

   ASP.monta_aspx.__BuildControlContent2(Control __ctrl) in 
d:\inetpub\wwwroot\rrhh\Montas\Monta.aspx:7

   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12

   ASP.masterpage_master.__BuildControlContentPlaceHolder2() in 
d:\inetpub\wwwroot\rrhh\Montas\MasterPage.master:85

   ASP.masterpage_master.__BuildControlform1() in 
d:\inetpub\wwwroot\rrhh\Montas\MasterPage.master:14

   ASP.masterpage_master.__BuildControlTree(masterpage_master __ctrl) in 
d:\inetpub\wwwroot\rrhh\Montas\MasterPage.master:1

   ASP.masterpage_master.FrameworkInitialize() in 
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET 
Files\rrhh_montas\05ddcbc5\3cc2d21a\App_Web_c_ldr58k.1.cs:0

   System.Web.UI.UserControl.InitializeAsUserControlInternal() +31

   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext 
context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) 
+2028700

   System.Web.UI.Page.get_Master() +48

   System.Web.UI.Page.ApplyMasterPage() +18

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, 
Boolean includeStagesAfterAsyncPoint) +685

 

 

 

 

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

Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET 
Version:2.0.50727.1433

 

Saludos,

                 Ray

 

Responder a