2012-07-07 15 views
5

Recibo los siguientes 7 errores en mi sitio web asp.net (vb). Ocurrieron después de que agregué referencia a la biblioteca de objetos de Microsoft Office 12.0 según this. un intento de leer celdas individuales de hojas de Excel. Ahora todo el sitio web no se puede construir. Lo más sorprendente de esto es por qué me aparece un error relacionado con el informe de Crystal cuando no lo necesito en mi proyecto.Error de informes de Crystal en asp.net vb donde no se necesitan informes de cristal

Aquí están los 7 errores:

Error Unknown server tag 'CR:CrystalReportViewer'. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 130 

Error Could not load file or assembly 'CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 3 

Error Could not load file or assembly 'CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 6 

Error Could not load file or assembly 'CrystalDecisions.ReportAppServer.XmlSerialize, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 7 

Error Could not load file or assembly 'CrystalDecisions.ReportAppServer.ObjectFactory, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 8 

Error Could not load file or assembly 'CrystalDecisions.ReportAppServer.Controllers, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 4 

Error Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. C:\Users\ssaa\Documents\Visual Studio 2010\WebSites\Dpp2012\aspnet_client\system_web\4_0_30319\crystalreportviewers13\preview.aspx 5 

Cualquier ayuda sería muy bienvenido!

Respuesta

12

Ir a esta ubicación

[Windows Partition]:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13\ 

abra el archivo preview.aspx, y cambiar a 12.0.2000.013.0.2000.0

Funciona ;-)

+0

¡Gracias por ello ya que funciona como una joya! – rahulserver

+0

Genial !! me alegro de ayudar –

+0

Teniendo el mismo error, intenté esto, y no me deja guardar el nuevo archivo, dice que no se concede permiso – Dman

2

Además de la fijación de preview.aspx en el [Windows Partition]:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13\ carpeta, también debe buscar una carpeta llamada aspnet_client dentro de la raíz de su sitio web y aplicar el mismo cambio allí.

Si usa varios sitios web dentro de su IIS en lugar de solo "Sitio web predeterminado", copiará la carpeta crystalreportviewers13 en cada uno, así que revíselos.

Cuestiones relacionadas