According to your description, I am not clear where you test after publish it the webserver. In the Local IE or Server IE?
If you tested it in the web server IE, it doesn't show the data, I think this issue is related to the IE compatibility. I found a tutorial about how to set it:
crystal report viewer do not show in internet explorer 11:
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
40 Points
1603 Posts
Crystal Report do not load data in IE
Jul 18, 2017 06:26 PM|aspfun|LINK
I used code below to load crystal report.
It works fine in Chrome and IE9 in local pc.
Once moved to web server, There is no data loading in Crystal report if opening in IE but Chrome is still working.
How to fix it? Does web server need to install something?
Dim dt As New DataTable
Dim rpt As New ReportDocument
dt = makedt //a function to create a datatable
rpt.Load(Server.MapPath("~/CrystalReport/order.rpt"))
rpt.SetDatabaseLogon("sa", "password")
rpt.SetDataSource(dt)
rpt.Refresh()
CRV1.ReportSource = rpt // CRV1 is crystal report viewer
Contributor
6680 Points
2715 Posts
Re: Crystal Report do not load data in IE
Jul 19, 2017 03:00 AM|Eric Du|LINK
Hi aspfun,
According to your description, I am not clear where you test after publish it the webserver. In the Local IE or Server IE?
If you tested it in the web server IE, it doesn't show the data, I think this issue is related to the IE compatibility. I found a tutorial about how to set it:
crystal report viewer do not show in internet explorer 11:
https://social.technet.microsoft.com/Forums/ie/en-US/1da0a049-8514-4274-a70f-1cf2f127c4bf/crystal-report-viewer-do-not-show-in-internet-explorer-11?forum=ieitprocurrentver
Best Regards,
Eric Du
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.