Crystal report viewer not showing any option in browser at run time
Hello concern
I am mahendra gohil a student in computer science.
I am using crystal report viewer with VS 10 . Every thing is fine code is running , in browser data are displayed but I didn't find any options that make print of my document . In my document has multiple pages but it displays only first page. all options are set to true with "pdf" as print mode.
I have read all post regarding this issue , could not find any solution. Also set "Enable Acrobat Javascript " in adobe reader application.
I have attached my project image with this question.
Can any one plz help me to solve this ?
I am using Firefox 20.0* and Crome 34.0.*
Here is my code
page :: viewreport.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/ideal.master" AutoEventWireup="true" CodeFile="viewreport.aspx.cs" Inherits="Default3" %>
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style1
width: 100%;
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="style1">
<tr>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td colspan="2">
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
AutoDataBind="True" EnableDatabaseLogonPrompt="False"
GroupTreeImagesFolderUrl="" Height="50px"
ToolbarImagesFolderUrl="" ToolPanelWidth="200px" Width="881px"
ToolbarStyle-BackColor="#33CC33" ToolbarStyle-BorderColor="#FF5050"
ToolbarStyle-BorderStyle="Dashed" />
</td>
</tr>
</table>
</asp:Content>
page :: viewreport.aspx.cs
ReportDocument rp = new ReportDocument();
rp.Load(Server.MapPath("IPD_BILL.rpt"));
string payment_str = "SELECT * from report";
DataSet ds = new DataSet();
ds = conn.read_op(payment_str);
rp.SetDataSource(ds.Tables[0]);
CrystalReportViewer1.ReportSource = rp;
Similar Messages
-
Crystal report Viewer Not Showing Control Bar Button Icons
Hi
I am using Crystal report along with .net 2003 in web application.
While executing, the report its not showing any errors,but the control bar buttons(print, export, next page last page, previous page, first page, etc ) are showing without there icons.
These invisible buttons can be found by placing the mouse over the specified area, then it shows the tool tip like print etc.
Please give me solution.Would you like to have a look at these:
[1.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303336333633373339%7D.do]
[2.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133383333333933313333%7D.do]
[3.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303332333533323337%7D.do]
[4.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333733363334%7D.do]
[5.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313336333333303335%7D.do]
[6.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bip/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333833393338%7D.do]
Hope this helps!
AG. -
Crystal report does not show any output
Hi
The client runs crystal report and on the crystal viewer no out put is retrieved. basically The page shows as gray colour. Its like as if there is no report to run. No error message is also received
However when you print the report it prints fine with all the details on the report
The user has full rights to the crystal reports folder as well
All users can run the crystal reports fine except for one user
Any possible solutions?
Thank you
KInd Regards
ApsaraHi,
We have the same problem, did you find the final solution?
Thanks in advance
Regards. -
Crystal Report Images Not Showing - JSP inside /WEB-INF folder
Hi Experts,
I am using Crystal report for Eclipse and also using Struts2 and tiles framework combination.
The problem is when viewing the report all I've got is red X on all images and the graph image also not showing. This is when I use tiles and my jsp is inside the web-inf folder.
This is my struts link: href="s:url value='/report/reportOpen.action?report=1'
I've checked that the path to the viewer generated HTML is not correct. see code below.
src="../../../crystalreportviewers/js/crviewerinclude.js"
But when I test to access a simple jsp viewer that resides on the web root folder, this works fine but of course this is not what I want to have. I need to have my banner and menus on top of the report page (using tiles)
This is my jsp link: href="s:url value='/ReportViewer.jsp?report=1'
Viewer generated HTML below.
src="crystalreportviewers/js/crviewerinclude.js"
This might be a common problem and that you can share to me your solution.
Note: I removed the script tags because I can't submit this entry.
Thank you in advance,
Regards,
Rulix Batistil
Crystal Report Images Not Showing - JSP inside /WEB-INF folderHi Saravana,
After a few experimentation from your idea i was able to figure out the problem and now it is working.
I don't have to copy the folder to where my jsp resides but still maintains it in the root location: web/crystalreportviewers
The changes should always be in web.xml.
1st: change the crystal_image_uri value to ../crystalreportviewers
2nd: change crystal_image_use_relative value to "web"
Change to "web" instead of webapp because that is what I named my web root folder.
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>../crystalreportviewers</param-value>
</context-param>
<context-param>
<param-name>crystal_image_use_relative</param-name>
<param-value>web</param-value>
</context-param>
Thank you. You showed me the way on how to solve the 3 day problem.
BTW, my next problem is when clicking on any buttons prev/next/print/export, I got this error HTTP Status 404.
Well, at least for now I can view my initial report. I just need to figure out the next issue and with the help of the great people here in the forum.
Thanks a lot.
Regards,
Rulix
Edited by: Rulix Batistil on Nov 26, 2008 7:27 AM -
I had to format the C drive recently. I have reinstalled iTunes but I am unable to add anything other than music, TV shows and movies to the iTunes library. It is not showing any option to add podcasts, books, photos or apps. These things are available on my iPhone but are no longer there in the iTunes library. Please help.
In iTunes go to general preferences and check the boxes for those you wish to see in the library.
-
Crystal Report Viewer not displaying properly in on loading
I am using Visual Studio 2012 in Windows 10 with IIS 8.5. I configured Crystal reports properly but when I load the webpage the Crystal report viewer doesn't load properly and the toolbar and other options are not showing. Please help. Following is the problem am talking about:
Hi Zaeem,
Windows 10 is not currently supported. We plan to add it to the supported platform in SP 14 which is planned for sometime end May.
I tried it and make sure you are loading the Viewer and Report in the Page_Init section. Also the CrystalReportsViewer folder must be included in the project.
Try searching and you'll find info on this subject.
Don -
Crystal Report Viewer Not viwed - Through APP Server Re-Direction
Hello Team
I have a critical problem in my organizaion for viewing the reports.
Configuration that we are using:
1. Windows Server 2008 R2
2. Crystal 13 - Server Trial Version - Expiring on Aug-25th, 2014
3. Used Visual Studio 2010 - .NET
4. IIS 7.0 - configured a Virtual Directory for ASP.NET application
Out Application is using an Oracle APP Server to view the HTML. A button is provided in the HTML to redirect to view the Crystal Report.
when I click on the Hyperlink and the url is directly accessed, then the Report is being shown without any issue.
But ours is a corporate application and we have given a provision of accessign this application when users are outside of network. Hence the Crystal Server is under fire-wall. So, I cannot access it directly with a URL. Hence the app server is configured in such a way that if it find a name like "Reports" in the URL, then it redirects to the actual Web Server and gets back the data to the browser.
for URL redirection, the app server is configured as below
ProxyPass /crystalreportviewers/ http://<<ServerIP>>/crystalreportviewers/
ProxyPassReverse /crystalreportviewers/ http://<<ServerIP>>/crystalreportviewers
ProxyPass /reports10/ http://<<ServerIP>>/reports10/
ProxyPassReverse /reports10/ http://<<ServerIP>>/reports10
When the user redirects from the APP server using those redirection rules, the pages are being executed but the final crystal report viewer control is not being shown on the browser. I am not sure if we need to perform any other steps to get these thigns done.
Our server is behind fire-wall and whenever I am in network, I used to get the output but when the redirection happens not able to load the Crystal Report Viewer. Not sure, if there are any other security rules that I need to consider to get back the CrystalReportViewer.
Also, there is something called CrystalReportInteractiveViewer prior to Crystal13. Do we have anything as such in Crystal 13 also? Please help me in getting this worked.
Please let me know if I am not clear in my explanation and I can certainly provide you a better information based on your queries.
Thanks
-Srinivasa NadellaHi Srinivasa,
Please move this thread to SAP Crystal Reports, version for Visual Studio
Helpful threads: Having issues with Crystal reports report viewer
c# - Application level assembly redirection not working - Stack Overflow
asp.net mvc - Why is my Crystal Report and Viewer invisible on a Web Form in an MVC application? - Stack Overflow
Regards,
DJ -
Crystal Report Viewer Not Releasing Oracle Database Connections
I have a very simple vb.net 3.5 web application that uses the Crystal Report viewer 2008 to open a report. My requirements are as follows:
1. Reports are built by another company and provided to us and used in a web environment
2. All reports contain parameter fields
3. The web application must be generic enough that a report can be added to a list and the user simply selects the report and provides database login information. The Crystal report viewer with handle the request for parameter values and prompt the user for their values.
4. All reports connect to an Oracle 10g server.
The above requirements have been meet and we have an extremely simple web application that runs the reports. It is working very well other than the crystal report viewer is not releasing the database connections. This is bad because the credentials are on a per user basis and that same user must login to a different oracle application simultaneously. They are being denied access because the credentials are already in use. We do not have control nor influence over the policies in use on the Oracle server. Ideally we would like to control the Crystal Report viewer so that it closes connections after use.
The web application code is:
Private Sub viewReports_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
If Not IsPostBack Then
ConfigureCrystalReport()
End If
End Sub
Private Sub ConfigureCrystalReport()
'Load the Crystal Report viewer with a report.
Try
Dim reportPath As String = Server.MapPath(Session("reportname"))
crViewer.ReportSource = reportPath
Catch ex As Exception
Response.Write(Server.MapPath(Session("reportname")) & "
" & ex.Message.ToString & "
" & ex.StackTrace.ToString)
End Try
End Sub
Can anyone shed some light on this topic? Thank youHello, Timothy;
By default, having the report in session will hold it open for 20 minutes.
If you create the report as a ReportDocument object you can take it out of session and release it more efficiently. That will release the connection.
Private Sub ConfigureCrystalReports()
If (Session("hierarchicalGroupingReport") Is Nothing) Then
hierarchicalGroupingReport = New ReportDocument()
hierarchicalGroupingReport.Load(Server.MapPath("Hierarchical Grouping.rpt"))
Session("hierarchicalGroupingReport") = hierarchicalGroupingReport
Else
hierarchicalGroupingReport = CType(Session("hierarchicalGroupingReport"), ReportDocument)
End If
myCrystalReportViewer.ReportSource = hierarchicalGroupingReport
End Sub
In the Form Unload of the Viewer:
'Take the report out of session
Session("hierarchicalGroupingReport") = Nothing
Session.Contents.Remove("hierarchicalGroupingReport")
'Clean up the ReportDocument object
hierarchicalGroupingReport.Close
hierarchicalGroupingReport.Dispose()
hierarchicalGroupingReport = Nothing
GC.Collect()
Elaine -
Crystal Report Chart not showing up in Web Portal
I have a created a chart using Crystal Reports(runs fine in Crystal) and published it on our Report Server. When I went to look at the report on our Web portal, the text objects were visible however the chart was not. Portal is in JSF technology (IceFaces) on JBoss server.
Anyone know why this happening?
I founded post
[Re: Crystal Viewer in Servlet does not show graphics|Re: Crystal Viewer in Servlet does not show graphics]
I have this in web.xml
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>/my_app_name/crystalreportviewers115</param-value>
</context-param>
But in URL like this one
/my_app_name/crystalreportviewers115/crystalimagehandler.jsp?dynamicimage=crystal7652571164231307864.png
I haven't file "crystalimagehandler.jsp" I also didn't found "crystal7652571164231307864.png" file. how to resolve this problem?Yes I did. I created file "crystalreportviewers115" in my "WEB-INF" and coped there all file from "C:\Program Files\Business Objects\Common\4.0\crystalreportviewers12\".
In tutorial which i founded [here|http://devlibrary.businessobjects.com/businessobjectsxir2/en/en/JRC_SDK/jrc_java_dg_doc/doc/jrcsdk_java_dg/Tutorials2.html#1459845] they saying that I must copy file "crystalreportviewers115" but in my case I have "crystalreportviewers12" and:
- ChartSupport
- java
- managed
In my case i haven't file "crystalreportviewers115" but "crystalreportviewers12".
In eclipse the structure of my app (its "Dynamic Web Project") looks like:
- myapp:
_______ src
_______ crystalreportviewers115
_______ WebContent:
_________________ WEB-INF
Any advice? -
Crystal report paramater not showing all document number in parameter
Hi,
Customer is using Crystal report 2008 add on. The DO is having Doc Number in crystal report parameter. Eg DO in system had reached #1000 but it crystal report parameter user can only view DO up to 800. Is there any limitation in Crystal parameter if the records are many? How to resolve?
Regards
ThomasDO=Delivery Order in Sales A/R module.
Customer is using Crystal report to print Delivery Order. DO DocNum is parameter in Crystal report for user to select which DO to print out but the selection list did not show all DO No.
I saw similar question in forum. I had added "MaxRowsetRecords" ='99999999' into registry but the parameter still doesn't show all the DONo.
I am using Type=REG_DWORD, value data=99999999 in registry and in crystal report the DocNum parameter is having "Dynamic" type.
Don't know whether the setting is correct. Sorry I am not a Tech guy.
Please advise.
Regards
Thomas -
CRYSTAL REPORT VIEWER NOT FOUND IN VC++
Hi All,
I am migrating our appn VC++ 6.0 code to VS 2010(MFC code compiled in VS2010). I could able to compile all the code in VS 2010 and i am created vb.net report application using crystalreport viewer, it working fine, afterthat i am converted vb.net code to C#.
My questions are,
1) how to add crystalreportviewer control in VC++ (searched not found) or alternative any control is available in vc++ using same c# code?
2) if its possible , to load rpt files without viewer control ? ,if yes, please provide me sample code.
Regards,
Esha Abdullah MI found one, since you never looked, to get you going. It's written in C++, just change the assemblies to CR for VS 2010
General
Crystal Reports .NET - All Sample Applications
This set includes the following samples:
cr_net_sdk_tutorial_samples_en.zip
crsdk_net_samples_12.zip
NET-CPP2005_CRNET_CR115_Change_Record-Selection-Formula.zip
#using <C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.CrystalReports.Engine.dll>
#using <C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.Shared.dll>
#using <C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.Windows.Forms.dll>
And comment out the Page event, seems they don't work in 2010, we changed the event handler:
// this->crViewer->ClickPage += new CrystalDecisions::Windows::Forms::PageMouseEventHandler (this,&ViewForm::crystalReportViewer1_ClickPage);
// this->crViewer->DoubleClickPage += new CrystalDecisions::Windows::Forms::PageMouseEventHandler (this,&ViewForm::crystalReportViewer1_ClickPage);
Don
Edited by: Don Williams on Jul 13, 2011 9:05 AM -
BPC 5 MS version -Park and Go Offline Report is not showing any values
Hello Everyone,
I have some reports that I created using EVGTS and EVDES in BPC and need to send to users who are not connected to BPC. I have attempted to save the reports via park and go with the offline option selected so that the report would not be connected to BPC. The users came back to me saying that when they opened the reports all of the cells are showing #Name instead of the values when they open the reports. I have saved the reports to my desktop then closed out of BPC totally and opened the reports in native Excel and they display fine on my desktop. I then sent the offline report to my personal email address and opened it on my laptop which doesn't have a BPC installed on it and I got the same error as my users. We are close to go live and will definitely need to have this functionality working for the reports in Excel to be distributed to a lot of users who are will not have access to BPC.
Any help would be greatly appreciated!!
EleashaHave you searched on the support site for any notes on this? I have had similar problems, related to specific builds of BPC 5.1 and specific versions of MS Excel.
I'd recommend you file a message with SAP Support, indicating the specific versions of Excel for which the report does work offline (your own machine, apparently) and does not work.
I know that a few BPC versions ago, the park-and-go feature definitely worked when sending the Excel file to a user without the BPC client installed. It's possible that this is no longer true, but I wasn't aware of the change. -
Field Explorer in Crystal Reports does not show the same names as Bex Query
Hi
I have crystal reports, I can retrieve data from BW Bex Query. But in the field explorer it does not show the names as in the Bex query designer.
In the Bex query designer a field will have the following technical name 0Debitor and the description is Customer.
It shows in crystal reports in the field explorer twice as D[0DEBITOR]D and D[0DEBITOR]D. It also does not seperate key figures and characteristics.
I would like it to display the field explorer as shown in this blog.
/people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
Thanks in advanceHi,
take a look here:
/people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
make sure you are using the MDX Driver and what happens is that you will see several fields per characteristic. example: one for the key, one for the description, several if modelled for the display attributes
Ingo -
Crystal Report Parameter not showing in IPAD
Hi All,
I create simple Purchase register report by using Crystal report with date parameter
My problem is that report not working on Ipad and its showing blank space .
The report working fine on ipad when i run report without parameter.
Kindly tell me solution.Hi Rajesh,
I am new to this Mobility..What is integration service upgrade..
Currently we are using
SMP Legacy connection typ1.
BO version is 4.1 SP02.
App is 6.0.6
Please advise on this issue...and the steps which you have used.. -
Crystal report could not show dynamic picture
I develop crystal report which show dynamically picture in my PC but when I send it to server which has not be installed program just install asp.net framework 2.0 , it could not show dynamic picture.
How should I do, please advise.I develop the report by using Crystal Reports XI so that I have to install the runtime of them as the detail in page of business object located at Business Objects - Crystal Reports Runtime Packages.mht
Crystal Reports for Visual Studio .NET 2005 - Service Pack 1 (Updated Nov. 2007) will not show dynamic picture, right
I have to install Crystal Reports XI - Service Pack 4 (Updated - November 2007) becuase it has more features than the package in VS2005 right
Edited by: pasit chan on Nov 3, 2010 10:18 AM
Maybe you are looking for
-
MacBook Pro doesn't recognize JVC camcorder GR-X5E
Hello Does somebody know any kind of "adapter" for MacBook Pro with OS X 10.5.8 that makes the signals of my JVC camcorder GR-X5E readable? jvc.ch doesn't has a solution Thank's in advance!
-
Datacopy from Dynamic Calc member
Hi All, Within a dense dimension(Accounts) I want to copy data from dynamic calc member to a stored member. Below is the structure of my dimension. Member X (~, Stored) Member A (Dynamic calc, TBLast) ----Member A1 (Dynamic Calc) ----Member A2 (Dynam
-
F1 & F2 Keys + Brightness controls not working
I just came home with my Brand new Macbook Pro 17" i7 and as soon as I try to control the brightness with either F1/F2 or the slider in Preferences nothing happens???? Do i have to take the computer back to the store again??
-
How To call Journal Posting thro' fnd_submit.submit.request()?
Hi , v_request2_id := Fnd_Request.SUBMIT_REQUEST('SQLGL', 'GLPPOS', 'Gastos', NULL, FALSE, to_char(v_set_of_Books_id), to_char(v_chart_of_Accounts_id), to_char(v_posting_run_id), chr(0)) This is the way i am calling the posting program it gets comple
-
Roles for Bid delete in LAC?
Hi, we are using SRM 5.0. When i tried to delete the bid in LAC. Delete button is greyed out. i think it is related to roles. can any tell me wt is activity required in purchaser role under the live auction object.. please help..