Solved

C# Crystal Reports - Not displaying Data

Posted on 2014-12-12
3
997 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 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