Crystal Report错误:在asp.net Webconfig文件中加载时无法加载文件或程序集 [英] Crystal Report error : Could not load file or assembly While loading in asp.net Webconfig file
问题描述
在我的项目中,我使用Crystal Reporting加载asp.net网站时出现错误。
我的web.Config中的错误,例如
In My project i use Crystal Reporting which give error on loading my asp.net website. Error in my web.Config like
当我从Web配置中删除这三个程序集(Controller,DataDefModel和ClientDoc)时,显示错误
When i remove these three assemblies (Controller, DataDefModel and ClientDoc) from my web config the error show
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
如果有人解决了此错误,请指导我。预先感谢
please guide me if any one solve this error. Thanks in advance
推荐答案
如果尚未这样做,则需要为具有适当运行时的开发人员安装Crystal报表。级别。
If you haven't already done so, you need to install the Crystal reports for developers with the appropriate runtime level.
您需要一个开发人员(Visual Studio),然后在目标计算机上重新分发。可直接从 CRforVS_redist_install_XXX 找到直接下载。 noreferrer>此处(版本13 32位)和此处(版本13 64位)
You need the one for developers (Visual Studio) on your development machine, and the redistributable on the target machines. The direct downloads can be found at CRforVS_redist_install_XXX
, directly from here (version 13 32bit) and here (version 13 64bit)
注意:安装后,您需要检查web.config文件中的版本号以确保匹配已经安装了什么。 SAP网站说:
Note: after installing it, you'll need to check the version number in your web.config file to ensure it matches what's been installed. The SAP site says:
由于大多数CR / RAS .NET程序集现在已从
13.0.2000.0转换为版本13.0.3500.0,用户必须从引用列表中删除所有旧的CR程序集,并添加新版本的CR程序集,然后
重建应用程序。
As most of CR/RAS .NET Assemblies are now re-versioned from 13.0.2000.0 to 13.0.3500.0, user MUST remove all old CR assemblies from Reference list and add the new version of CR assemblies, then rebuild the application.
这篇关于Crystal Report错误:在asp.net Webconfig文件中加载时无法加载文件或程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!