首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不需要水晶报表的asp.net vb中的Crystal reports错误

不需要水晶报表的asp.net vb中的Crystal reports错误
EN

Stack Overflow用户
提问于 2012-07-07 17:35:18
回答 2查看 8.2K关注 0票数 5

我在我的asp.net(vb) website.They中得到以下7个错误,在我按照this SO post添加对Microsoft Office12.0对象库的引用后,试图读取单个excel工作表单元格。现在整个网站都建不起来了。最令人惊讶的是,为什么我在我的项目中不需要水晶报表的时候,却得到了一个与水晶报表相关的错误?

以下是7个错误:

代码语言:javascript
复制
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   

任何帮助都是非常受欢迎的!

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2012-09-03 15:24:20

转到此位置

代码语言:javascript
复制
[Windows Partition]:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13\

打开preview.aspx文件,将12.0.2000.0更改为13.0.2000.0

它可以工作;-)

票数 13
EN

Stack Overflow用户

发布于 2013-03-13 21:27:21

除了修复[Windows Partition]:\Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13\文件夹中的preview.aspx之外,您还应该在网站根目录中查找名为aspnet_client的文件夹,并在其中应用相同的更改。

如果您在IIS中使用多个网站,而不仅仅是“默认网站”,它会将crystalreportviewers13文件夹复制到每个网站中,因此请检查所有网站。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11373887

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档