locked
Could not find assembly error RRS feed

  • Question

  • User1416431539 posted

    Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

     


    I have Crystal Version 10 w/ the .NET components installed...yet I still receive this error when running a simple .aspx which just contains ReportViewer + ReportSource controls.

    Wednesday, February 14, 2007 3:14 PM

Answers

  • User1416431539 posted
    Seems the version 10.2 Crystal Reports (2.7) stuff comes from Visual Studio.
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 16, 2007 9:59 PM
  • User1416431539 posted

    Those three assemblies were located at:

    C:\Program Files\Common Files\Crystal Decisions\2.5\managed

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, April 21, 2008 10:27 PM

All replies

  • User1001868398 posted
    When you reference the dll is on the bin directory or in the gac, check the version of the DLL in the GAC. You can always copy the dll into the bin to make sure to know what dll is being called. Hope this helps
    Wednesday, February 14, 2007 5:18 PM
  • User1416431539 posted

    Thanks...I copied the dll from:

     c:\program files\common files\crystaldecisions\2.5\managed\crystaldecision.crystalreports.engine.dll

     to my bin directory...

     I get a different error now:

    "The located assembly's manifest definition does not match the assembly reference"

    I'm going to try using a 2003 .net project instead of a 2005 project to see if that changes anything.

    Wednesday, February 14, 2007 6:05 PM
  • User1001868398 posted
    Good, that means the refereced dlls is not the same in your bin directory, you can reference the correct one, look at your web.config for the referenced dll.
    Wednesday, February 14, 2007 6:07 PM
  • User1416431539 posted

    I've gotten these assemblies to work:
    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

    However, where are these stored at? they were not in c:\program files\common files

    <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

    Wednesday, February 14, 2007 7:37 PM
  • User1416431539 posted
    ps :I also tried creating a .net 1.1 project...it worked, however no images show up.
    Wednesday, February 14, 2007 7:47 PM
  • User1416431539 posted
    Seems the version 10.2 Crystal Reports (2.7) stuff comes from Visual Studio.
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 16, 2007 9:59 PM
  • User-434060319 posted

    yup. what you need to do is install crystal report component from the visual studio cd.

    you will find the missing dll files

    • CrystalDecisions.ReportAppServer.ClientDoc,
    • CrystalDecisions.Enterprise.Framework,
    • CrystalDecisions.Enterprise.InfoStore

     are now in C:\Program Files\Common Files\Business Objects\2.7\Managed

    Copy those dll files to you application bin folder

     

    it works for me ;p

     

    Wednesday, July 11, 2007 11:44 PM
  • User-1687824065 posted

    Hi,

    I've checked the directory : C:\Program Files\Common Files\Business Objects\2.7\Managed - I've found the following DDLs:

    CrystalDecisions.CrystalReports.Engine
    CrystalDecisions.Shared
    CrystalDecisions.Windows.Forms
    CrystalDecisions.ReportSource
    CrystalDecisions.Web

    But where are these files located:

    CrystalDecisions.ReportAppServer.ClientDoc
    CrystalDecisions.Enterprise.Framework
    CrystalDecisions.Enterprise.InfoStore

    Can anyone help?

    Thanks in advance!

     

    Thursday, January 24, 2008 3:27 AM
  • User1416431539 posted

    Those three assemblies were located at:

    C:\Program Files\Common Files\Crystal Decisions\2.5\managed

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, April 21, 2008 10:27 PM