Problem in viewing data in first instance

Hi,

I am facing a unique problem.
I have to explicitly refresh (By clicking on refresh button OR by navigataing to other page OR by zoomin,zoomout) the report to see the data :cry:

I am using BO XI 3.1 Edge Series Server.
I have published the RPT files on this Server & able to see the reports properly through CMC or throgh InfoView wizard.

However, when I try to see the reports through my webapplication, I have to explicitly refresh (as said in above way) to see the data.

My code is like this:
int reportID = 2946;
IEnterpriseSession enterpriseSession =
(IEnterpriseSession)session.getAttribute(ā€œEnterpriseSessionā€);

CrystalReportViewer viewer = new CrystalReportViewer();
viewer.setEnterpriseLogon(enterpriseSession);


IReportSourceFactory psReportSourceFactory =
	(IReportSourceFactory)enterpriseSession.getService("PSReportFactory");
Object reportSource = psReportSourceFactory.openReportSource(reportID, Locale.ENGLISH);

viewer.setReportSource(reportSource);
viewer.setDisplayPage(true);
viewer.setDisplayToolbar(true);
viewer.setOwnPage(true);
viewer.processHttpRequest(request, response, getServletContext(), null);
viewer.dispose();

Once the report is refreshed, then I don’t face any problem and I am able to see the complete data.

Time is running out & I have a demo coming nearby.
And I can’t tell my client to refresh the page to see data. :frowning: Hope you guys understand why so…

Thanks in advance friends.
Good Day.
God Bless You


surbhit4u (BOB member since 2009-06-30)

And don’t cross post.


wahey :netherlands: (BOB member since 2007-05-31)

Sorry Wahey,
Actually my friend just poped in & said we might need to report problem in some other topic. So had again pasted the same.

Sorry Dude.
I would be really helpful if you can help me in solving this problem.


surbhit4u (BOB member since 2009-06-30)

Please continue in the original topic, linked in the prior post, thanks.


Dave Rathbun :us: (BOB member since 2002-06-06)