-
Nov 1st, 2010, 07:25 AM
#1
Thread Starter
Frenzied Member
Crystal Report problem
Hello Everybody,
I had an asp.net web app developed with VS 2003. The web app had extensive use of crystal reports that were developed with Crystal Report 10. I converted the web app to asp.net 2.0 and deployed it to a Win 2008 R2 server. I also installed Crystal Report for .NET Framework 2.0 (x64) but my web app throws an exception "Could not load file or assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified."
Any idea on how to solve this?
Thanks.
-
Nov 1st, 2010, 07:51 AM
#2
Re: Crystal Report problem
I doubt you have the .Net Framework 3.5 Installed. If you install the 3.5 only you will get the 10.5.3700.0 version. If you want to get rid of this issue, then replace the with
Please mark you thread resolved using the Thread Tools as shown
-
Nov 1st, 2010, 07:54 AM
#3
Thread Starter
Frenzied Member
Re: Crystal Report problem
You mean I should just replace 10.5.3700.0 with 10.2.3600.0 in web.config?
Thanks.
-
Nov 1st, 2010, 08:01 AM
#4
Re: Crystal Report problem
Yes. And make sure that you have the 10.2.3600.0 is available under Add Reference Tab
Please mark you thread resolved using the Thread Tools as shown
-
Nov 2nd, 2010, 06:09 AM
#5
Thread Starter
Frenzied Member
Re: Crystal Report problem
The exception went away with your workaround, thanks.
But another exception started coming on all the pages that preview crystal report, they say "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.".
Thanks.
-
Nov 4th, 2010, 09:14 PM
#6
Re: Crystal Report problem
Originally Posted by usamaalam
The exception went away with your workaround, thanks.
But another exception started coming on all the pages that preview crystal report, they say "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.".
Thanks.
Put the Try catch catch statement and see what the exact error.
Please mark you thread resolved using the Thread Tools as shown
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|