We have some Crystal Reports that we upgraded from Crystal Report 10 to Crystal Report 13 via tha Visual Studio 2010 automated process. The reports runs fine on my local development environment which is Windows XP Professional Edition using Visual Studio 2010. Now when I try to test these reports on Windows 2008 Server where the code is being deployed the SAP Crystal report browser omes up and there is not actuall report within the Crystal Report browser. I also see a logo saying SAP Crystal Report on this browser on Window 2008 Server but no report within the browser. I have installed the CR_Runtime_32bit_13_0_2.msi on the server.
The only difference between the above to environments is that one has the Crystal Reports 13 for Visual Studio 2010 and the server has CR Runtime Environment.
If you are using sessions, ensure the following flow is used:
Use the following workflow:
If not ispostback() Dim rpt as new reportdocument() Rpt.Load(pathtoreport) Session.Add(“report”, report) crystalReportviewer.reportsource = rpt else crystalReportviewer.reportsource = session(“report”) end if
From your description, I do not think the above is the issue, but just wanted to cover that possibility. For an issue where the report does not come up at all see the following:
KB - 1605773 - CRVS2010 web viewer is not displaying the Crystal report
<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version= 13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
Please note that the path in the above solution is important. E.g.; if you install to a driver other than "C", you will have to adjust.
Hi Ludek- I tried copying the asp_client folder to the C drive as well as the root of my web application where the web.config resides and I get the same issue of a blank white SAP Crystal Report Viewer. I checked and I have the httpHandler tags for SAP in the web.config as well.
I was wondering do you know if I need to install anything other than CR_Runtime_32bit_13_0_2.msi
I saw some merge modules I was wondering if you know I needed to install them on the server as well....
No other runtime is needed. The MSI is it and best as it also includes other non CR dependencies (e.g.; VC++). Couple of ideas.
1) See if the info in the following thread will help:
Hello Ludek- According to fiddler it appears to be looking for the WebResources.axd file and displays this message:
GET WebResources.axd.404 Not Found
404 Not Found
The resource you are llokign for might have been removed, had its name changed, or is temporarily unavailable.
Is there any Crystal Report Runtime patch or fix I might need to apply for this to work.
The 404 error has nothing to do with Crystal Reports. I'd suggest googling "error 404" and see if any of the finds will help. You will have to resolves this error before continuing on to CR.
Is Fiddler telling you anything about the crystalreportviewers13 folder? Is it even being looked for?
Natasha, I just noticed that you are also on this thread:
That will just lead to confusion and its' against the rules of engagement. Please choose the thread you want to work on, let me know and I'll close the other one.
The entire .NET application works fine but when I click the link that takes us to the Crystal Reports we get the missing WebResource.axd. I have also added the WebResource.axd handler to the web.config. But I get the following error.
Get WebResource 500 Internal Sever Error
There is a problem with the resource you are looking for, and it cannot be displayed.
This only happens when running the reports using the Crystal Report Runtime Environment on the but not within visual studio.
We also have the similar issue when we published our software to one of our client. The server is Windows 2008 R2 62bit,
CR for VS2010
When I tried Fiddler it is saying it is redirecting.
302 HTTP /aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/crv.js
302 HTTP /aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/images/style.css
302 HTTP /aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/spider/spider/aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/crv.js
302 HTTP /aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/images/spider/spider/aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/images/style.css
and so on.
Baby C S
See if this will help:
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"/>
<add key="UseBrowserLocale" value="true"/>
<add key="resourceURI" value="~/aspnet_client/system_web/4_0_30319/crystalreportviewers13" />
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
I think we've pretty well exhausted all I can think of. I'd say the next step would be to create a phone case here;