I've created a bunch of RPT files and we've been using Business Objects to run them against our sql db using a different param's for each rpt file to generate a pdf.
Is there an api I can use to run these reports?
I've downloaded and installed crystal reports for visual studio, but (1) I'm not sure which dll's I need to add to accomplish this and (2) I can't find any documentation or sample code -- can anyone point me in the right direction?
I'm not quite sure what you are trying to accomplish, your question is not very clear. If you are looking for a program to view the reports in, SAP has a free version of the Crystal Reports Viewer available here. If you want to create applications to run your reports in, you will need something like Visual Studio, which lets you create Windows Forms or Web Applications to embed your Crystal Reports in.
EDIT: To add Crystal Reports to Visual Studio you will first need to download the runtime from SAP. Most commom runtimes can be found here. Then you will have to add the CR to your toolbox in VS by choosing Tools -> choose Toolbox items. Make sure the .NET Frameworks Components tab is selected and scroll to the CrystalReport items. Check the items you want to add (CrystalReportViewer for sure) and click OK. After that the CR Viewer should be available to you in the Reporting section of your toolbox.
Related
I want to create a .rdlc file in a WPF project but adding add new dialog box doesn't provides any option to create a new report. I have installed Microsoft SQL server data tools, express localdb and prerequisites for ssdt. Can anyone point me in the direction why this option is not available.
Note: When I installed VS 2015 some of the features were not properly installed, well I installed some of those packages which I required from time to time. Now there are still a couple of packages missing. One is Microsoft report viewer add-on for visual studio 2015. I searched for this add-on on the internet but I wasn't able to locate it.
I also installed report viewer runtime as I was missing assembly dll(s) for adding reference to Microsoft.ReportViewer.WinForms.
I have attached some screenshots for reference.
vs-error-log
installed-packages
p.s. if you think that this is a possible duplicate, well I tried a couple of answers already on stack overflow which didn't worked in my case. That's why I am posting a separate question.
I had this problem and solved it by the following:
Get the nugget package for the Microsoft Report Viewer 2015
a. Right click the project and choose Manage NuGet Packages
b. Click on the browse tab
c. The package used was Microsoft.Reportviewer.2015 by AdrienGuillerot v12.0.2.2402
Add the report viewer to your toolbox.
a. Right Click, then Choose Items...
b. Browse to the dlls in the package.
Put the control in your webform.
a. Drag the control from your toolbox onto the form.
b. Set the Dock property to fill.
c. Add the following code to YourForm.Designer.cs in the InitializeComponent() method.
this.Controls.Add(reportViewer1);
I want to create RDLC file in my C# project. (http://msdn.microsoft.com/en-us/library/ms252067.aspx) But I'm not getting Reporting item templates (Report or Report Wizard).
I've got VS2013 Professional Edition so I assume it should have been there.
I've also installed SQL Server Data Tools for VS2013 and I'm able to create New Report Server Project and add a report there. But that's RDL file, that's not what I'm looking for.
I've tried devenv.exe /InstallVSTemplates with no luck.
I'm not able to find these item templates online either (not sure if my company firewall is blocking anything).
Does anyone know what could be the reason for missing item templates (Report or Report Wizard) and how can I get those added in my current project?
Have you installed the Microsoft Report Viewer Runtime/Redistribution? These install the report viewer controls.
Microsoft Report Viewer Runtime 2012
Microsoft Report Viewer 2010 Redistributable Package
After installing VS 2013 Update 4 (http://www.microsoft.com/en-us/download/details.aspx?id=44916) I'm able to see Reporting item templates.
Please note: I had installed Report Viewer Runtime and Redistributable package as suggested by #Scott before installing Update 4. That time Reporting item templates were not available.
Now I'm not sure if Update 4 in itself is sufficient for item templates or you need Update 4 + Report Viewer runtime/redistributable.
I have finished a project that contains reports designed by Crystal Report, and now I want to deploy it, I found a lot of ways to do it (Install Shield,InnoSetup...)
But I am relieved to WIX (Windows Installer XML), and I want to know how to include some packages into it like Crystal report, .Net Framework...
Thank you all in advance
You could redistribute crystal reports runtime as separate msi, and include it in a bootstrapper for example.
Also there are merge modules for Crystal Reports. You can include these in wix using "Merge" element. This is more or less equivalent to checking corresponding checkbox in VS / Installshield.
You can find the merge modules in your CR VS installation folder. Also it looks you can find the latest ones here: http://scn.sap.com/docs/DOC-7824
.NET Framework cannot be included as msm package; you should use a bootstrapper. Take a look here for example:
http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_dotnet.html
I am getting to reporting with C# and Visual Studio 2010 for the first time. Most of my applications are win forms apps drivin by sql server data. What should I use to get started with reporting? I see there is a built in report designer in the toolbox and also a way to add reports at the project level. This includes some sort of built in report designer and a report wizard. Also I noticed a reporting designer called Crystal reports.
Is there a good direction I should go? Also any tips to get me started so I do not waste a lot of time?
Any help or direction would be appreciated! Thanks!
Go for Crystal Reports, Its a well known reporting tool and you will find a lot of resources on the net about it. In addition to that, It is totally Free.
Check these for more details:
http://msdn.microsoft.com/en-us/library/aa287920%28v=vs.71%29.aspx
http://msdn.microsoft.com/en-us/library/ms225615%28v=vs.90%29.aspx
http://www.youtube.com/watch?v=wud4VtqpetU
We had our Crystal Reports report sheets in 2008 working and when we moved to 2010, some of them which their datasources were binded to dataset and datatables are not working. Anyone knows of a reason? Thanks
Happened to me too. Basically there is a new CR for VS 2010 that you need to install it manually. It used to be come in the box with VS but not for VS2010. You need to do code changes. Word of caution to pay attention to the 64 or 32 bit CR.
You can download it http://www.sdn.sap.com/irj/sdn/crystalreports-dotnet
In case you're looking for Crystal Reports for VS 2010, look here: http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp
You'll need one of the first two downloads to install Crystal Reports into Visual Studio. Then you'll need one of the other downloads to distribute the runtime files. For example, if you're hosting a web application on a 64-bit server, you'll need to run the last download in the list on that server.