Solved

C# Crystal Reports - Not displaying Data

Posted on 2014-12-12
3
1,101 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 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