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

大城市里の小女人 提交于 2020-08-08 05:59:48

问题


In My project i use Crystal Reporting which give error on loading my asp.net website. Error in my web.Config like

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


回答1:


If you haven't already done so, you need to install the Crystal reports for developers with the appropriate runtime level.

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)

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:

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.



来源:https://stackoverflow.com/questions/46036025/crystal-report-error-could-not-load-file-or-assembly-while-loading-in-asp-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!