About the deployment of ADODB for web applications in Crystal Report 10
Source: Internet
Author: User
I use crystal report 10. After deploying a web application, the following Error occurs when running a web application on a machine that is not in the development environment (this machine installs Crystal Report 10:
ErrorName: System. IO. FileNotFoundException
ErrorMessage: File or assembly name ADODB, or one of its dependencies, was not found.
ErrorStackTrace:
At CrystalDecisions. crystalReports. engine. reportDocument. (Object C) at CrystalDecisions. crystalReports. engine. reportDocument. setDataSource (DataSet dataSet) at STAR. web. main. crystalReport. report. page_Load (Object sender, EventArgs e) in c: inetpubwwwrootWebSTARmainCrystalReportReport. aspx. cs: line 70 at System. web. UI. control. onLoad (EventArgs e) at System. web. UI. control. loadRecursive () at System. web. UI. page. processRequestMain ()
I added the VC_User_CRT71_RTL_X86 _ ---. msm and VC_User_STL71_RTL_X86 _ ---. msm files during deployment.
Solution:
Add the "C: Program FilesMicrosoft. NETPrimary Interop Assembliesadodb. dll" file to the bin directory of your published web application.
I will give a detailed explanation on the foreign website for deploying Crystal Reports.
This problem occurs in the installed Microsoft. net Framework 1.1 is a MB server. If your server is installed with Microsoft. net Framework 1.1 is 130 MB (this. net Framework installation includes many related things.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.