sebtain Posted May 9, 2011 Share Posted May 9, 2011 I have created a very simple report with just title using ireport 4.0.2 when tried to view the report it is giving me The document has no pages.The same report when i am trying to see in ireport 3.0.0 I am able to see .Can you please help how to trace and fix this issue(which property need to updated/changed) to the earliest possible.Thanks in Advance,Sebtain. Post Edited by sebtainmdr at 05/09/2011 08:56 Link to comment Share on other sites More sharing options...
f_chas01 Posted May 9, 2011 Share Posted May 9, 2011 you have to check the proprties of the data source. On the screen it is the 10.0.1.19 data source. Check whether it has the same properties as the data source you have used in iReport 3.0.x Link to comment Share on other sites More sharing options...
ernestoo Posted May 9, 2011 Share Posted May 9, 2011 Are you using the "empty datasource" in iReport? That is the one that works for reports with no data, not others. Link to comment Share on other sites More sharing options...
sebtain Posted May 12, 2011 Author Share Posted May 12, 2011 Yes, the report is not using any datasource.I am just trying to display just title,(some time back i used the same ireport 4.0.2.- able to display the report even using datasource) but now when trying for very simple report. just with the title , this exceptin 'The document has no pages' is occuring .Do i need to see any configuration setting. I even tried uninstalled and reinstalled and tried the reporr. but the result is the same exception. Link to comment Share on other sites More sharing options...
prasad23 Posted May 13, 2011 Share Posted May 13, 2011 Use Datasource as EmptyDatasource then it will definately works. Link to comment Share on other sites More sharing options...
sebtain Posted May 16, 2011 Author Share Posted May 16, 2011 Thanks Prasad it worked !!! Link to comment Share on other sites More sharing options...
dengp29 Posted June 13, 2014 Share Posted June 13, 2014 use the "Empty datasource" when the reporter is not using any datasource. It will work! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now