C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Error Occured while generating report


Posted Date: 05 Sep 2008      Total Responses: 1

Posted By: alpa       Member Level: Bronze     Points: 1


I was generating bar graph report in vb.net,following error encountered while debugging the site:


An error occurred during local report processing.
The definition of the report 'Main Report' is invalid.
The chart ‘report1’ is in the report body but the report has no data set. Data regions are not allowed in reports without datasets.

How can I solve this error




Responses

Author: ANIL PANDEY    05 Sep 2008Member Level: DiamondRating:     Points: 3
i think u are facing this problem because, the data set which u r passing after featching the data from the data base is coming as null,

means either there is no records or the records are not coming Properly..
Better u check the wuery again and check that weather or not the data is ZComing t the data set or not.
u can use the DTA SET like this

Dataset ds = new DataSet();

ds = execute datatset//

if(ds.Tables[0].Count>0)
{
//Process
}
else

{
//No data Found......
}
hope u got the idea...

Regards,
Anil Kumar



Post Reply
You must Sign In to post a response.
Next : How to add shotcut for tabpages of tabcontrol
Previous : Resize jpeg image using javascript
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use