on 10-01-2008 5:42 PM
I get an "The resource cannot be found error" when trying to print a Crystal Report from my app. Any thoughts on what would cause this. Thanks
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
DisplayGroupTree="false"
PrintMode="ActiveX"
DisplayBottomToolbar="false"
AutoDataBind="true"
ToolbarImagesFolderUrl="/crystalTemplate/toolbar/"
SeparatePages="true"
HasCrystalLogo="false"
HasExportButton="True"
HasRefreshButton="true"
HasToggleGroupTreeButton="false"
/>
Hi, Evan;
Is this happening on your development computer, or a client?
If it is a client, how did you distribute the Crystal Reports Runtime?
Which version of Crystal Reports are you using?
Best Regards,
Jonathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your suggestions.
Ludek - I used your code and yes it did list the available printers.
Amit - I'm using VS2005 and I'm coding in C#. The report does print just fine in the designer.
Evan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK. Let's take a look at the code used. Can you copy and paste it here, please?
Also, can you try our sample apps? Here is a file that contains a number of C## samples:
https://smpdl.sap-ag.de/~sapidp/012002523100006252712008E/csharp_web_smpl.exe
One of the samples is called printtoprinter, see if that works
.
Oh, just as a reference, this White Paper is very helpful:
http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf
Ludek
This app is still in development so it's on my dev pc. I can't roll it out without the ability to print. I'm using CR Developer 11.5.3.417.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.