Get PDF or TIFF from SSRS reporting service - silverlight

SQL Server Reporting services capable of exporting report as TIFF.
This is excellent since I want to use report inside my Silverlight application and already have infrastracture for viewing TIFF.
Question is how to GET tiff directly from report server without running report on webpage first?

You can use the SSRS Web Service and call the Render method. This method will give you a specified report as a Stream, which can then be shown in your infrastructure to view TIFF's.

Related

SQL Server Reporting solutions that don't require self-hosting

I'm working on a multi-tenant SPA application that will be hosted in Azure and will store data (via API) in an Azure SQL Database.
I now need to add the equivalent of SSRS but we would like a fully hosted service rather than having to manage servers ourselves. My understanding is that even with SSRS, we would be required to manage a VM and would be responsible for security updates, upgrades, etc. -- something we're trying to avoid.
In my scenario, the users don't need to create reports -- the developer with create the reports. The users only need to be able to run the reports and print/save them as PDF or export them in CSV or Excel format.
Are there any kind of options for this?
Using WebForms you can develop reports locally without SSRS and use the report control to display it and offer PDF and CSV options. The reports are local to your project and have the RDLC extension instead of RDL extension which runs with an SSRS server.
https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftRdlcReportDesignerforVisualStudio-18001
If using MVC, there is no control to use so you have to resort to handling running the report and displaying to the browser which there are many samples out there that should be able to help you get going like:
MVC 5 How to use an object in rdlc report
https://www.youtube.com/watch?v=HBXTUFmQ0UA
Or
Hack in a WebForms page with MVC, something like:
https://www.c-sharpcorner.com/article/rdlc-integration-in-mvc-application-report-display-using-iframe/
OR
ReportViewerForMvc nuget package that promises to do this for you and a sample using it.

SQL Report Server Data Source

we currently have an asp mvc site that's serving rdlc files without sql report server. That data is modeled in the code and then passed to the rdlc file which generates the report.
reportDataSource = new ReportDataSource("dataset", contactListsDataSet);
LocalReport.DataSources.Add(reportDataSource);
Something like the above. It all works great however what I'd like to allow is for the end user to be able to modify the look and feel of the report.
Currently the only way I can think of doing it is getting them to download SQL Server Report Builder and then download the rdlc template modify it and re upload the template. This just feels a bit clunky and if you click run in Report Builder is fails because there is no data source.
So my second thought was to setup SQL Report Server and from what I understand this facilitates the downloading and uploading of rdlc files once you've connected to the server. My problems with this and what my actual question.
Can SQL Report Server use a api/code end point and not directly access the database for the data? We do some calculations and structuring of the data and our reports are based on that and not the raw sql results?
We have multiple clients on one database and their data has a client_id on it where necessary so they only see there own data. For reports we'd only want a client to see their own modified reports. Can SQL Report Server handle multi tenancy?
Thanks

SQL Server Report Services Premisson

I am currently looking into developing and designing the Report service system for work. My user does not seem to have access to Report Builder etc. I have given access to the below roles, but all I can seem to do is view report, create new folders and upload.
Browser
Content Manager
My Reports
Publisher
Report Builder
Does anyone know what I need to do to resolve this?
Thanks
Have you tried following the instructions on MSDN?
(These are the instructions for SQL 2008- I think the process for SQL 2005 is similar but may differ slightly)

Crystal report or flow document in WPF

I have wpf application and it needs report printing. for example daily, monthly sales. Should I use Crystal report or Flow Document with tabular will do? I know this is naive question.
I need faster and free reporting solution....
thanks
Microsoft SQL Server Reporting Services are well worth looking in to: in my experience far less buggy than Crystal and all you need to is add a Report (RDL) file to your project and drag on a viewer (with WPF may be necessary to host it in a WindowsFormsHost control, though). Or you can go the whole hog and install SQL Server with reporting services, so that the reports are processed on the server. You get a load of decent export options (PDF, HTML,..) and there's plenty of flexibility and customisation for logic and rules in the report.

Can SQL Server 2008 Reporting Services use a list of objects as a data source in a ASP.NET application

I am working on an ASP.NET (3/5) web application. In the application, we assemble lists of classes from a variety of data sources. I would like to create a report in SQL Server SSRS that renders a report from the contents of one of those lists, without pushing the list to the database (in fact, it would be a violation of a bunch of rules if we did that). Right now we are using SQL Server 2005 but we are considering a move to 2008. Is what I want to do possible and, if so, how do I do it?
Reporting services offer something called as DataSet extensions. You may use that to render the report from your custom data source. You do not need to load them back into database. However, certain editions of SQL like SQL Express reporting services does not support dataset extension.
You might want to use the ReportViewer control which ship with Visual Studio 2005 and Visual Studio 2008.
It can run in a "local mode", which doesn't require a Report Server backend. You simply drop it from the VS toolbox onto an ASPX form, then wire it up in code with any IEnumerable collection as its datasource, and then provide it with a report definition file for local mode (RDLC).
The RDLC file is basically the same as the original RDL (report definition language), but it omits a few things like the datasource, which is provided by your application. The ReportViewer control contains a smaller version of the report processing engine, so that at runtime, it "couples" the RDLC you provide with a data set or bindable collection, and it does the rest.
For more details on this control, check out the following site: www.gotreportviewer.com
HTH

Resources