Hi all,
I have an Asp.Net page that displays a crystal report. I am using VS2010 targeting to .net framework 4.0. The report was actually created in VS 2008 .net 3.5 and now I have upgraded to CR2011. I opened the report and modified it then when run my web application from my machine. But when I move the report to production, and run the web page on production, the report does not display in the CR Viewer.
Also, the report is displayed for some criteria and doesnot for some other search criteria. When i export the blank report the data is still there and can be seen in excel or pdf.
One more thing noticed is that it works perfectly if i run IE9 with compatability mode in production.
Please help urgently.
Hi,
Have you gone through the supported platforms guide:
IE 9 is not supported at this time, but my testing revealed it works well when Compatibility View is used.
The same is applicable to IE 8.
So even if CR has to support it, it would be in compatibility view only as far as latest browsers are considered.
If you want to know why, then go through this:
http://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx
Hope that helps.
Thanks,
Saurabh
Dear Saurabh,
I've gone through the supported platforms guide. Also, i found the only solution is to view it in compatibility mode. But then what i was curious about is if CR doesn't support IE 9 then how the same report is working fine in some cases (i mean data with other criteria) without compatibility mode. It seems that there is something that has to do with the data being displayed.
Did anyone had this kind of issue?
Thanks
I had a similar situation where the viewer was coming up blank in production after upgrading versions, although I am only using IE8. I found the problem was caused by missing a folder containing the crreportviewers. I still have a pending question on the topic, but it does work now. You can see the thread at Version Mismatch on Deployment
Hope this is helpful.
--Dan
You will need to run it in compatibility mode. If I remember correctly we only support IE8 in compatibility mode as well (though IE 9 is not supported at all). There is no way around this.
Jason
Hello.
I've also have problems with IE 9 and the report web viewer from Crystal Reports for Visual Studio 2010. The pages were blank or faded out, although the text seemed to be there. For me the problem was the iframe that the viewer uses. The opacity for it was not set correctly (probably some crappy/incompatible js). To fix it I used this function (uses jQuery):
function FixIE9Viewer() {
if ($.browser.msie && $.browser.version >= 9) {
$('iframe[id^="bobjid_"]').css("opacity", "");
}
}
I call it on body onLoad event and it works for me.
I hope this helps you.
Edited by: katalin008 on Jan 20, 2012 10:04 AM
Here man just put this at the top of your page...
ClientTarget="downlevel
"
Like so...
<%@ Page Title="" ClientTarget="downlevel" Language="vb" AutoEventWireup="false" MasterPageFile="~/reporting/reporting.master" CodeBehind="11backuplog.aspx.vb" Inherits="celltronv2._11backuplog" %>
Works good for me.
ClientTarget="downlevel" worked for me as well although the text in the main report is a bit lighter than when IE9 is in Compatibility Mode but at least it is now visible. Thanks for the fix!
Bug description and suggested workarounds have been posted in this thread:
Fix for CR for VS2010 visual effects bug: faded or blank report under IE9
04/17/2012 Update:
It has been verified that the bug fix has been applied to Service Pack 3.