?
Solved

Report Application Server failed on SetDataSource()

Posted on 2007-07-31
4
Medium Priority
?
5,172 Views
Last Modified: 2013-11-26
I am porting some older VB.NET code to VB 2005, and my application uses the built-in version of Crystal Reports (v10).

When I run this line of code, I get an error telling me that the "load report failed," and that the "report application server failed":

rptTemp.SetDataSource(ReportData)

ReportData is a dataset, by the way.  I made sure that the .rpt file is an embedded resource, and I uninstalled all earlier versions of Crystal Reports other than v10; but the error still appears with certain reports. Is there anything else that I could possibly try?
-----
VS 2005
Windows XP SP2
0
Comment
Question by:andersonpower
  • 2
4 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 1000 total points
ID: 19602762
WIth VS 2005, the embedded report nethod is no longer supported.
You will need to change to the Document method

mlmcc
0
 

Author Comment

by:andersonpower
ID: 19612021
Thank you for pointing that out...that doesn't seem to be a well-documented change in VS 2005.

I also found that one of my controls on my report was invalid.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 19614164
I only found out through an answer to a question here.

Glad i could help

mlmcc
0
 

Expert Comment

by:MHPjr001
ID: 20225784
However, Windows projects in Visual Studio 2005 remain unchanged from earlier Visual Studio .NET versions; they continue to use embedded reports.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

750 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