1

When i execute crystal report it gives an error Could not load file or assembly 'crdb_adoplus, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)

1

4 Answers 4

4
  1. Place this code in your app.config

    <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.2"/>
    </startup>
    
  2. If it would not work then download Crystal Report Runtime from this link http://downloads.businessobjects.com/akdlm/crnetruntime/clickonce/CRRuntime_32bit_13_0_1.msi

  3. If again Crystal Report create some problem then right click on your project, open Properties, open Debug tab and check option Enable Unmanaged code debugging.

1
  • thanks buddy this option worked for me Option Enable Unmanned code debugging. Jan 2, 2012 at 6:17
3

If you are running .Net 4 in VS2010, then you may need to add the following to your .config file (configuration section):

<startup useLegacyV2RuntimeActivationPolicy="true">
  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>

If this doesn't work, then you need to upgrade to Crystal Report for VS2010 from this link.

2
  • thanks for your answer it works one or two times then no exception visual studio halted Jan 2, 2012 at 6:08
  • @FaheemShehzad: then you need to need to upgrade to the VS2010 version of CR. I have added a link to the answer Jan 2, 2012 at 6:10
0

Add this code in app config

<startup useLegacyV2RuntimeActivationPolicy="true">  </startup> 
0

If you have visual studio 2010 in your system then crystall report is not install because there is no any crystal report with visual studio 2010.for open the crystal or .rpt file install the sap crystal report 2010.It willl downloaded from sap object websit.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.