.comment-link {margin-left:.6em;}

.code

.. Hello Earthling .. \o/ :)

crystal reports "FileNotFoundException"
Friday, December 11, 2015

noting it down here for myself and anyone who maybe looking for this. Here is a pretty notorious exception that often bothers people working in Crystal Reports, specially if your project is recently migrated to a newer version of Visual Studio. In my case, its from visual studio 2005 to 2013. Things did compile but upon running a report it crashed with the following horrible notice:


An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll

Additional information: Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI

I looked around on the net, there are so many different solutions that would work for some and wont for some others. The solution that worked for me is this: I just had to add the following tag in the yourapp.exe.config file:
licy="true">0"/>
inside the "configuration" tag. Here the useLegacy* tag is imp.

Hope it helps.






Blogs:

MSDN Blogs
Joel Pobar
Don Syme

Friends:
Adeel
Aqeel
#Fahad
Haroon
Omer
Muhammad Ali
Lahore Food Blog

Links:
Rotor
CodeGuru
Mozilla
OpenSourceNokia
Tech Blog

Languages:
IronPython
F#

Archives

June 2004   July 2004   August 2004   September 2004   October 2004   November 2004   December 2004   February 2005   April 2005   June 2005   July 2005   September 2005   October 2005   November 2005   June 2007   December 2007   January 2008   March 2008   April 2008   June 2008   October 2008   February 2009   May 2009   June 2009   July 2009   August 2009   March 2011   June 2011   July 2011   September 2011   October 2011   November 2011   December 2012   May 2013   October 2013   May 2014   March 2015   July 2015   August 2015   December 2015   March 2016   July 2016   October 2016   November 2016   July 2017  

This page is powered by Blogger. Isn't yours?