[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

C# Crystal Reports - Not displaying Data

Posted on 2014-12-12
3
Medium Priority
?
1,141 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 101

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
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.…

650 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