Last post Dec 08, 2009 02:00 AM by spolarium7
Aug 07, 2007 07:10 PM|stebes|LINK
i have a web application in asp.net (vb code) which uses crystal reports XI. I can show reports with the CrystalReportsViewer, but i have to let the clients on internet to print that reports. I see the bar's "print" button, but it doesn't print. I have another
problem, images in the bar's buttons do not appear!. I don't know if it is relevant. Pleas help me, i need it urgently.
Aug 07, 2007 07:40 PM|eseidel|LINK
Check the properties of the CrystalReportViewer. I think defautl print is to document instead of printer.
Aug 07, 2007 08:35 PM|stebes|LINK
Eric, i think you don't understand me. I want to print reports from my web application, but i want clients to choose their own printers. I still cannot find the solution. When i click the print button, a pop-up window appears, but that window doesn't show
printers, shows an error page.
Help me please....
Aug 09, 2007 02:11 AM|prajapatiamit2003|LINK
Aug 04, 2008 06:34 PM|ca_nimrod|LINK
I am receiving the same error message. Clicking on the print button gives me a pop-up window with an error message on it.
"You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed"
The problem here is that I do not know what directory it is talking about, and the crystalviewer10 directory that I have in IIS already has those permissions....
There is the physical directory that lives under the website root path (aspnet_client/) that contains the head/menu info, but that too has execute permissions... not sure where to go from here fo rme
May 11, 2009 04:11 PM|no_one_else|LINK
Hi!! you can use the activex control that work fine.
but only on IE
May 26, 2009 04:10 AM|mruiz|LINK
I know this thread is a bit old, but i'll answer it anyways so others can fix this problem.
1. You're getting the error because you have to add the address to your Trusted Sites, or enable ActiveX components in Internet Options Advanced Pane (in every client computer). With this, you will be able to print the report. I belive you have already set
PrintMode or your Crystal Report Viewer to ActiveX, otherwise will print it to a PDF file. If you haven't you can do it by code like this:
Me.crViewer.PrintMode = PrintMode.ActiveX
2. You will need to specify the ToolbarImagesUrl property of the Crystal Report Viewer. Search for the images (usually in C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727\CrystalReportWebFormViewer4\images\toolbar). This should do the trick. If you
like, copy the folder to your project.
Hope it helps to all the people with this problem.
Dec 08, 2009 02:00 AM|spolarium7|LINK
Im kinda having the same problem as above. My crystal report shows in the viewer, I can see the buttons, I can click them but nothing happens.
I can't find the ActiveX entry on my Advanced Tab on Internet Options of my Internet Explorer... I'm using IE8 (render mode IE7).
Also, this is the markup I use for my crystal report viewer:
I think print mode can be set this way too... so this should work... although I maybe wrong. I'm binding via push method because im arranging the datarows in a certain way before I bind it to the report. And lastly, Ive disabled drill down on the markup
but the drilldown button on the viewer is enabled... how can it be?