Solved

C# Crystal Reports - Not displaying Data

Posted on 2014-12-12
3
964 Views
Last Modified: 2014-12-20
I am working on a website.  I did not originally develop it.  I am troubleshooting the issue.  The dataset is populating with data.  I checked the XSD on the report, the datatbase verifies.  I added text on the report.  The report prints as excel but no data displays.  Any ideas?

 DataSet myDataSet = new DataSet();

myAdapter.Fill(myDataSet,"eoData");			

oRpt.SetDataSource(myDataSet);
												
crystalReportQueue myCRQ = new crystalReportQueue(appMan.ConnectionString);

myCRQ.storageFormat = CrystalDecisions.Shared.ExportFormatType.Excel;

int iPrintQ = myCRQ.load(oRpt, "EO Report", appMan.UserID);
Response.Redirect("PrintQueueList.aspx");

Open in new window

0
Comment
Question by:CipherIS
  • 2
3 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 40497056
Has this been working or is this something new you added?

If you export the report to Excel do you get data?

mlmcc
0
 
LVL 1

Accepted Solution

by:
CipherIS earned 0 total points
ID: 40500473
I resolved the issue.  But to answer your question.  This app was written in .NET 1.1.  Didn't have the original source code.  Upgraded it and everything was breaking.  

Looking into it, finally noticed that the dataset name was not matching the XSD name.  Once that was changed that resolved the issue.  The data is getting to the report now.

Thank You.
0
 
LVL 1

Author Closing Comment

by:CipherIS
ID: 40510601
The dataset name was not matching the XSD name which prevented the report from populating the data.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 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

11 Experts available now in Live!

Get 1:1 Help Now