I am using ReportViewer in C# to generate a report of a list of jobs that users can print off. On my machine the ReportViewer works without a hitch - I can view and print the generated Report.
However, as soon as the user tries to generate a Report on their machine the program instantly crashes. Is there something I need to install on the client machine for them to be able to use the ReportViewer? Can I integrate it into my program to avoid having to install on multiple machines?
Related
I have got an application that needs to print reports at a distant location connected via the internet. Since there is no network printer we have to send reports generated through email and wait for someone to print them.
I was thinking if I can use windows service to automate the task
I've got the following options
get data from SQL Server base on filters transferred from distance location to generate crystal report and print it to the default printer.
get the report in pdf format from distance location & print it to the default printer
is any one of the options possible.
I'm asking for some help here since I've not created a windows service up till now for anything
Your guidance is highly applicated
Thanks a lot
Amit Saraf
Yes, your application can use the Crystal runtime and trigger a printout or an export of a report without any display to the screen.
Alternatively, the application can use a command line API of several cheap/free 3rd-party Crystal tools (typically, they are called viewers or schedulers) to achieve the same thing. The command line API would allow you to specify the rpt file, parameters, login info, printer destination, export format, export file, etc.
Yess window services generate and print the crystal report:
Firstly you have install the packages from nuget but you have use VS.
Step 1: Create the Database
Step 2: Create the Window Service
Step 3: Install the Windows Service
Also help from this link:
http://aspalliance.com/1917_Automate_delivery_of_Crystal_Reports_With_a_Windows_Service.3
I have been working on a requirement to deploy and download SSRS reports programmatically from C# code.
I used the service exposed by SSRS (ReportingServices2010). I am able to deploy my reports from application server to report server successfully. I referred to "https://www.codeproject.com/Articles/43133/Deploying-Reports-in-Reporting-Services-Programmat" for this.
Meaning, the deployment portion is done and I am able to deploy the report using C# code. But now, I want a functionality to download reports from report server and place it to Application server somewhere. I want to achieve this in similar way, like I did for deploying (using C# code).
But I am unable to find any method exposed by service which can return content of the report deployed on report server.
As a work around I found a way to directly query on Report Server Database or Power shell script as well. But I would prefer a solution using C# code only.
Please suggest if we can download SSRS report from report server programmatically using C# code.
Thanks,
Ketan
You can look at the code for command Out-RsCatalogItem in ReportingServicesTools GitHub project to determine how to download using the SOAP Proxy. In order to create a Web Service Proxy in .NET, look at this page. If you are still not sure how to proceed, then leave a comment and I will try to hack up a quick sample.
I am using Bartender Enterprise Automation edition for Label Printing. As of now, Bartender is installed on machines on which we intended to print the labels from.
Now, I have an windows forms C# application, which invokes Bartender Engine and prints the labels.
If a machine does not have Bartender Install on it, my app can not print the labels.
So, is there a way to install Bartender on a single machine (let's say our production server which is up and running 24 X 7 and on local network connected to each and every machine ) and whenever "Print Label" button is pressed from my Windows Forms application, necessary data and Label Template file (.btw) will be sent to that machine and that remote machine will print the labels for me.
this way I won't require to install bartender each and every machine in my company. I did try looking for the solution online but there isn't much documentation for this online.
Please share some knowledge if someone have explored in this area.
Bartender do have support for Web Print Server , I am not sure if it is available for the version you mentioned.
It works like this : https://www.barcodesinc.com/news/?p=3203
http://www.seagullscientific.com/media/101387/web-based-barcode-and-label-printing.pdf
These are some helpful links related to this topic :
I have been working on this and seeking solution as you have asked but no luck. Unfortunately you have to install BarTender suite on each client. My organization has purchased enterprise license 2016 and I thought that Print Portal and Print Maestro might solve this problem but they both are developed for different purpose.
I haven't tried both of them yet. If you find anything, let me know. Thanks
You should be able to solve this with using BarTender Integration. Integration is used to automatically print labels without having a user see BarTender. If you can export your data to a csv file and drop it in a folder BarTender Integration will be able to pick it up and print it to the correct template. The integration will run from a server so you don't need to install it on every computer.
I have an idea, since you do not like to install Bartender all over the machines in your company. Then i suggest you to create another windows form c# application to communicate with the one you have originally to print labels.
You should be able to print labels to different printers through local network.
PC A
Installed Bartender and Have the windows form c# application to print labels
PC B
Do not have Bartender installed
Have another windows form c# application to send information to PC A
I am working on application where reports are scheduled using Web Application build on asp.net C# language [.Net 4.5 framework] . This Application uses a Drop-down to take report parameters a category and a Email Address which is saved in Database.When some user wants a report for particular category then he select category and report is generated using saved database parameters and this report automatically emailed to that email address using web application.Report is generated using ReportViewer ReportViewer.ServerReport.Render(); to convert into excel sheet. Report viewer itself is hidden from users.ReportViewer only used to genrate excel sheet.Problem is if we have 50 mails then application keep running for 5 Hours which is very frustrating.I have heard about ssrs scheduled reports , but how can i set parameters using Web Application GUI also I need a one click send button on Web Application.If the user log out then it is scheduled in database and reports are genrated in queue.Please guide me with correct approach. I hope i am able to make every thing clear.
Thank you.
advanced hello to all
I made an application in C# , in that app I have some report created with crystal report
is there any way to running this report without installation crystal runtime in clients machine
maybe using crystal report that installed on server ?
thanks
farzad
If you know when and who will need the report you can use a scheduler. There are few vendors who produce schedulers for Crystal reports. The way how it works is : You will choose the report, the parameters , the export type (PDF, Excel, Word, HTML etc.) and the time when the report should be started. The scheduler will run the report, export it and deliver it. Depending on the scheduler you might be able to deliver the exported files to a network drive , e-mail address, SharePoint etc. Her is a link to an article comparing different schedulers:
http://kenhamady.com/cru/comparisons/desktop-scheduling-engines
I don't think there is no way to run a Crystal Report on a computer without installing the client components locally. You could, however, develop a service running on the server machine, which takes a report from a client, renders it to PDF (for example) and sends the results back for displaying on the client. This wouldn't be a simple task though, since you might also have to consider further input from the client (like report parameters, which you can't even determine at runtime without the client components) and have to implement communication over the network.
Otherwise, maybe you are more interested in a web-based approach and need Crystal Reports Server?