Error in crystal report compilation: "failed to Load file or assembly (from www. sysoft. CC)

Source: Internet
Author: User

I recently learned about the crystal report and found the following error after compilation:

 

 
  1. Failed to Load file or assembly "file: // C: \ Program Files \ sap businessobjects \ Crystal Reports. net Framework 4.0 \ common \ sap businessobjects Enterprise XI 4.0 \ win32_x86 \ dotnet1 \ crdb_adoplus.dll "or one of its dependencies. The system cannot find the specified file.

Failed to Load file or assembly "file: // C: \ Program Files \ sap businessobjects \ Crystal Reports. net Framework 4.0 \ common \ sap businessobjects Enterprise XI 4.0 \ win32_x86 \ dotnet1 \ crdb_adoplus.dll "or one of its dependencies. The system cannot find the specified file.

 

After surfing the Internet, Baidu finds many problems. The solution is to add the following code in the app. config file:

 

[HTML]View plaincopyprint?
  1. <Startup uselegacyv2runtimeactivationpolicy = "true">
  2. <Supportedruntime version = "v4.0" SKU = ". netframework, version = v4.0"/>
  3. </Startup>

<Startup uselegacyv2runtimeactivationpolicy = "true"> <supportedruntime version = "v4.0" SKU = ". netframework, version = v4.0"/> </startup>
I don't quite understand what is going on, but the problem is fixed. I will write it down for now.

Error in crystal report compilation: "failed to Load file or assembly (from www. sysoft. CC)

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.