locked
An Error in crystal Report in visual studio 2010 RRS feed

  • Question

  • User1370332273 posted

    I'm having this error when I'm opening a crystal report in visual studio 2010 at runtime 


    Could not load file or assembly 'file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .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 file specified. 

    i found a suggestion to add 

    <startup useLegacyV2RuntimeActivationPolicy="true">
     <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
     </startup>
    to the config did it but the problem remains the same 

    Thank you in advance 

     

    Thursday, September 29, 2011 5:57 AM

Answers

  • User1196771204 posted

    hi rpk2006,

    Based on the error you experience, I would suggest you to reinstall your Crystal Report for VS 2010 tool. Also, please make sure you check on the following configurations on your system:

    1. Please make sure the CR version installed on the server matches the one you use on your application/website
    2. Please make sure that the assemblies of the CR installed on the server are referenced correctly on your web.config
    3. Please make sure you set the application pool of your application to operate under LOCAL SERVICE permission
    4. Please make sure FULL TRUST mode is enabled on your operating folder
    5. Please make sure crystalreportviewer and aspnet_client folders are copied to your operating folder.

    By following all the steps above, your CR will certainly work fine. Should you still have problems, you can consider hosting it with asphostcentral.com

    Please mark this response as an "answer" if it helps you. Thanks heaps!
    :-) 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, September 29, 2011 11:05 PM