Solved

Running .Net 1.1 as .Net 2.0 CR throws "Load Report Failed"

Posted on 2006-11-27
7
268 Views
Last Modified: 2008-01-09
I am currently trying to run a .Net 1.1 application under the .Net 2.0 Framework (by modifying the application's config file) but now when I call the Load method of the CrystalDecisions.CrystalReports.Engine.ReportDocument object I get the
above mentioned error "Load Report Failed". I converted the solution to the 2.0 framework and all of my reports open without error (just like the reports did when compiled with the 1.1 Framework and then run under the 1.1 Framework). I need to figure out why there is a problem with Crystal when trying to force a .Net 1.1 app to run as a .Net 2.0 app.

Any ideas? Thanks for any help in advance.

Cheers,

Mike Gorgone
Software Engineer
Blackbaud Inc.
0
Comment
Question by:mgorgone
  • 2
  • 2
7 Comments
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
What version of Crystal?

What Windows version?

mlmcc
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
Comment Utility
Crystal provides different merge modules for the 2.0 framework so there may be differences or incompatibilites between the 1.1 modules and .net 2.0

mlmcc
0
 

Author Comment

by:mgorgone
Comment Utility
Crystal version 9 and my dev box is running XP w/ SP2
0
 
LVL 42

Assisted Solution

by:frodoman
frodoman earned 250 total points
Comment Utility
Hi Mike,

Interesting question - I suppose the answer would be because of poor design?  There are incompatibilities between the Crystal components for the 1.1 and 2.0 .Net frameworks.  Not only will you find this with the ReportDocument object, but the ReportViewer and CrystalEngine objects seem to have problems as well.

I ran into this situation when I moved apps to a new web server and didn't install the 1.1 framework at all (erroneously assuming it would work under 2.0).  I can't give you a more complete answer as to the 'why' w/out digging into the guts of the Crystal objects but I can confirm that it's nothing you're doing wrong - you need to either continue running it under 1.1 or upgrade the project to 2.0.

frodoman
0
 

Author Comment

by:mgorgone
Comment Utility
The answer has finally been found... it looks like updating the MSM files (getting them from businessobjects.com) did the trick.

Thanks for the replies I guess this can be closed
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now