Crystal Report error: Could not load file or assembly While loading in asp.net Webconfig file

问题描述 投票:0回答:3

在我的项目中,我使用 Crystal Reporting,它在加载我的 asp.net 网站时出错。 我的 web.Config 出错了

当我从我的网络配置中删除这三个程序集(Controller、DataDefModel 和 ClientDoc)时,错误显示

 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

如果有人解决了这个错误,请指导我。提前致谢

asp.net crystal-reports
3个回答
5
投票

如果您还没有这样做,您需要为具有适当运行时级别的开发人员安装 Crystal 报告。

你需要一个 for developers (Visual Studio) 在你的开发机器上,并在目标机器上重新分发。直接下载可以在

CRforVS_redist_install_XXX
找到,直接从这里(版本13 32位)这里(版本13 64位)

注意: 安装后,您需要检查 web.config 文件中的版本号以确保它与已安装的相匹配。 SAP 网站说:

因为大多数 CR/RAS .NET 程序集现在都从 13.0.2000.0 到 13.0.3500.0,用户必须从引用列表中删除所有旧的 CR 程序集并添加新版本的 CR 程序集,然后 重建应用程序。


1
投票

2021 年更新:您可以通过包管理器安装 Crystal Reports 的 NUGET 包来解决所有问题。 https://www.nuget.org/packages/CrystalReports.Windows.Forms/13.0.4000?_src=template


-1
投票

舒适的房间。 - 大昂

他妈的癌症

© www.soinside.com 2019 - 2024. All rights reserved.