Crystal reports an error in asp.net vb where there are no crystal reports

I am getting the following 7 errors on my asp.net (vb) website. They happened after I added a link to the Microsoft Office 12.0 object library according to this SO post in an attempt to read individual cells of an excel sheet. Now the whole site cannot be built. The most amazing thing about this: why do I get an error message related to the crystal report when I do not need it in my project?

Here are 7 errors:

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   

Any help would be appreciated!

+5
source share
2 answers

Go to this location

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

open preview.aspx file and change 12.0.2000.0to13.0.2000.0

It works; -)

+12

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

- IIS, "- ", crystalreportviewers13 , .

+2

All Articles