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.
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
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.
debo
Member
182 Points
126 Posts
Could not find assembly error
Feb 14, 2007 07:14 PM|LINK
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.
albertpascua...
All-Star
17520 Points
3475 Posts
MVP
Re: Could not find assembly error
Feb 14, 2007 09:18 PM|LINK
Al
My Blog
debo
Member
182 Points
126 Posts
Re: Could not find assembly error
Feb 14, 2007 10:05 PM|LINK
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.
albertpascua...
All-Star
17520 Points
3475 Posts
MVP
Re: Could not find assembly error
Feb 14, 2007 10:07 PM|LINK
Al
My Blog
debo
Member
182 Points
126 Posts
Re: Could not find assembly error
Feb 14, 2007 11:37 PM|LINK
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"/>
debo
Member
182 Points
126 Posts
Re: Could not find assembly error
Feb 14, 2007 11:47 PM|LINK
debo
Member
182 Points
126 Posts
Re: Could not find assembly error
Feb 17, 2007 01:59 AM|LINK
arwenia
Member
8 Points
5 Posts
Re: Could not find assembly error
Jul 12, 2007 03:44 AM|LINK
yup. what you need to do is install crystal report component from the visual studio cd.
you will find the missing dll files
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
jocker_wow
Member
129 Points
89 Posts
Re: Could not find assembly error
Jan 24, 2008 07:27 AM|LINK
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!
M.Nagieb
Sr. Web Developer
debo
Member
182 Points
126 Posts
Re: Could not find assembly error
Apr 22, 2008 02:27 AM|LINK
Those three assemblies were located at:
C:\Program Files\Common Files\Crystal Decisions\2.5\managed