on 04-26-2012 5:26 PM
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
Symptom
Environment
Cause
Resolution
C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13\...
<httpHandlers>
<add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version= 13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
</httpHandlers>
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.
- Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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....
Thanks
Hello Natasha
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:
http://scn.sap.com/thread/3157366
2) Use a utility such as Charles or Fiddler to see where the viewer requests are being redirected to.
- Ludek
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
Server Error:
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.
Thanks!
-Natasha
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?
- Ludek
Natasha, I just noticed that you are also on this thread:
http://scn.sap.com/thread/3180949
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.
- Ludek
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.
Hi Ludek,
We also have the similar issue when we published our software to one of our client. The server is Windows 2008 R2 62bit,
VS2010
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.
Please help.
Thanks
Baby C S
See if this will help:
<configSections>
<sectionGroup name="businessObjects">
<sectionGroup name="crystalReports">
<section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"/>
</sectionGroup>
</sectionGroup>
</configSections>
<businessObjects>
<crystalReports>
<crystalReportViewer>
<add key="UseBrowserLocale" value="true"/>
<add key="resourceURI" value="~/aspnet_client/system_web/4_0_30319/crystalreportviewers13" />
</crystalReportViewer>
</crystalReports>
</businessObjects>
- Ludek
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Share Your Knowledge in SCN Topic Spaces
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;
- Ludek
Sir Mr.Uher,
I have been struggling for same problem (report page coming blank) for last more than 8 days. Since last 22 hours I have been continuously doing r&d for solving this thing, tried in various ways but no luck. I came across this post & followed what you have written & my report is coming now. Sir, Thank you very very very much for your valuable solution.
Thanks again,
Regards,
Amita
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.