PROBLEMA 1: Microsoft
ReportViewer runtime
Could not load
file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies.
The system cannot find the file specified.
SOLUCION:
INSTALAR: ReportViewer.msi (https://www.microsoft.com/en-us/download/confirmation.aspx?id=35747)
PROBLEMA 2: falta
Microsoft System CLR Types
PROBLEMA 3: Versión del
framework en el app.pool.
Si se reinstala el framework 4.5, todos los app pool quedan
en la versión anterior
SOLUCION: Cambiar el framework de los app. pool a 4.0
PROBLEMA 4: Versiones incorrectas
SOLUCION:
Se debe instalar el runtime (redistributables) de visual
studio, luego el framework 4.5, luego la actualización a 4.5.1 y por último el
cristal reports.
Redistributables
|
vcredist_x64.exe
|
.NET Framework 4.5
|
\\Xvir79\pai$\NET
Framework\dotNetFx45_Full_setup
|
.NET Framework 4.5.1
|
\\Xvir79\pai$\NET
Framework\NDP451-KB2858728-x86-x64-AllOS-ENU\setup.exe
|
Crystal Reports 13.0.2000
|
\\Xvir79\pai$\Crystal Report
2013 - SAP\_Anteriores\CRRuntime_64bit_13_0_10.msi
|
PROBLEMA 5: Error al cargar log4net
Could not load
file or assembly 'log4net, Version=1.2.10.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 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Source Error:
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 40:
<asp:Label ID="lblError" runat="server"
Width="282px"></asp:Label><br />
Line 41: <br />
Line 42:
<cr:crystalreportviewer id="CrystalReportViewer1"
runat="server"
autodatabind="true"></cr:crystalreportviewer>
Line
43: <br />
Line 44:
</div>
|
SOLUCION:
Ver si en la carpeta assembly está la dll log4net.
Si no está, bajarla e instalarla.
Si está (como en este caso), fijarse si coincide el número
de versión y el token.
Si coincide, fijarse en el PROCESADOR (en este caso dice
AMD64, por lo cual solamente podrá ser utilizada por aplicaciones y sitios web
que corran en 64 bits exclusivamente).
Revisar el app pool:
En este caso, el problema es que el setting Enable 32-Bit
Applications está en TRUE, por lo cual, cuando la aplicación se ejecuta,
intenta utilizar la versión de 32 bits de la librería log4net, la cual no está
instalada.
La solución es cambiar el setting “Enable 32-Bit
Application” a FALSE:
PROBLEMA 6: Error al
cargar dll’s de cristal
Configuration Error
Description: An error occurred during the processing of a configuration file required
to service this request. Please review the specific error details below and
modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Source Error:
Parser Error Message: Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 27: <add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
Line 28: <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
Line 29: <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
Line 30: <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Line 28: <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
Line 29: <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
Line 30: <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Line 31: <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
SOLUCION:
Revisar el assembly.
En este caso, la librería
CrystalDecisions.ReportAppServer.ClientDoc existe, pero su procesador para la
versión 13.0.2000, es AMD64, por lo cual no admite aplicaciones 32 bits.
La solución es cambiar en el app.pool el setting “Enable
32-Bit Application” a FALSE, tal como en el caso anterior.
PROBLEMA 7: Restricciones de ISAPI
Si se reinstala el .net
framework, pueden quedar deshabilitadas las extensiones ISAPI.
SOLUCION:
Cambiar el valor Restriction a “Allowed”, para ASP.NET v4.0
(los dos settings)
The page
you are requesting cannot be served because of the ISAPI and CGI Restriction
list settings on the Web server
PROBLEMA 8: Pipeline
mode
This operation requires IIS integrated pipeline mode.
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.PlatformNotSupportedException: This operation requires IIS integrated pipeline mode.
Exception Details: System.PlatformNotSupportedException: This operation requires IIS integrated pipeline mode.
SOLUCION:





No hay comentarios:
Publicar un comentario