Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey i'm using crystal report with asp.net...
everything goes all fine with internet explorer 8 version
but it fails to get loaded for the first time in internet explorer 9...
not able to figure out the prob..

Thanks
Jake :-D
Posted
Comments
Anuja Pawar Indore 3-Feb-12 8:47am    
Without looking into your code, how you expect us to give an answer
Elegantly Wasted 9-Feb-12 1:03am    
go through this link you will come to know what i'm facing the prob http://forums.asp.net/t/1673216.aspx/1 .

Any solution do let us know...
thatraja 3-Feb-12 10:18am    
Show code
Elegantly Wasted 9-Feb-12 1:04am    
i have used oracle as database queries to bind report,
if the data is more then it throws an error out of memory or sometimes fail to load for the first time in i.e. 9 .

Thanks...
thatraja 9-Feb-12 3:28am    
Check my answer

Rahul Dhoble - Nope this is not the solution for my prob :

go through this link :
http://forums.asp.net/t/1673216.aspx/1

Actually the data to be loaded is more so at the first time its shows a blank page, and at the second refresh it show the report .
 
Share this answer
 
v3
Comments
Espen Harlinn 9-Feb-12 8:39am    
5'ed!
Here other possible reasons for blank report(s), so check these too(Will be useful for you in future)

Crystal report - not getting the output[^]
Crystal reports - getting blank data generated in reports[^]
Printing a reports I am getting a extra empty page[^]
 
Share this answer
 
Comments
Espen Harlinn 9-Feb-12 8:40am    
5'ed!
this is known issue

I would suggest to read below QA link and use the workaround


http://www.recrystallize.com/merchant/supportfaq/supportfaq0014.htm[^]


Hope this helps , if yes then accept and vote the answer otherwise revert back with your queries
--Rahul D.
 
Share this answer
 
'This is globally declared.
Dim rd As CrystalDecisions.CrystalReports.Engine.ReportDocument

'On page load i'm using session
If Session("CurrRpt") IsNot Nothing Then
rd = Session("CurrRpt")
If rd.FileName.Contains("rpt_Report1.rpt") Then
Report1.ReportSource = rd
Report1.DataBind()
Else
rd.Dispose()
End If
End If

This is where i dispose rd the instance of my crystal report document

'on click button to show report i have a huge query to bind crystal report
' i have used this to get the values so i can use it in my queries.

Dim txtfromDate As TextObject = rd.ReportDefinition.Sections(0).ReportObjects("txt_FromDate")
txtfromDate.Text = txt_FromDate.Text
Session("CurrRpt") = rd
Report1.ReportSource = Session("CurrRpt")
Report1.DataBind()


Most of the people suggested to dispose the instance at crystal report unload...i'll try out if i found any solution will update you...
Jake :-)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900