I recently upgraded my n-tier solution from .NET 3.5 vs 2008 to 4.5 visual studio 2012. Every thing went fine apart from crystal reports and I had to install new runtime crystal reports for visual studio 2012 from the following link _13_0_5.exe.After installing the above package I had to resolve some deprecated function and properties of CrystalViewer and after that reports rendering properly in development environment (Windows 7 64 bit, SQL Server 2005, Visual Studio 2012). When I deployed the package in test environment windows server 2008 R2the Application failed to load by throwing error Could not load file or assembly Microsoft.ReportViewer.WebForms, Version=11
I managed to resolve ReportViewer.WebForms error by copying the DLL from C:\Program Files (x86)\Microsoft Visual Studio 11.0\ReportViewer to bin folder of solution and set property copylocal = true and deployed the package. After that I received the error Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=11.0.0.0 . I tried to search that DLL on my machine but couldn't. when project is running in visual studio, In Debug-> Windows->Module the file is not listed however in global assembly cache that file is installed but I don't know how its installed to global cache and from where . I found one solution that I had to install ReportViewer.msi from microsoft package but if i install this package it asks me to install SQL Server 2012 which I dont wan't. Could any one help me to resolve this issue. Thanks
As Microsoft.ReportViewer.2012.Runtime has Microsoft.ReportViewer.WebForms, Microsoft.ReportViewer.Common and Microsoft.ReportViewer.ProcessingObjectModel libraries, just run this command on PM Console:
Note : If you want to completely remove the old Microsoft.ReportViewer.xxx references, you can remove them from Manage NuGet Packages>Installed Packages menu and then remove the related lines from packages.config file in your project. After that it will not comeback again during building of the project.
Remove the existing reference of "Microsoft.ReportViewer.WebForms". we need to refer these dll files in our Solution as "Right click Solution >References-->Add reference-->browse ".Add both the dll files from the above paths.
Change the web.Config File to point out to Visual Studio 2015.comment out both the Microsoft.ReportViewer.WebForms and Microsoft.ReportViewer.Common version 11.0.0.0 and Uncomment both the Microsoft.ReportViewer.WebForms and Microsoft.ReportViewer.Common Version=12.0.0.0. as attached in screenshot.
Add Microsot.ReportViewer 2010 or 2012 in prerequisite of setup project then it first install Report Viewer if it's not present in "C:\Windows\assembly\GAC_MSIL..." and after installing, it installs set up project
You must have the same version of: Microsoft.ReportViewer.ProcessingObjectModel registred in C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel,like you have registraded in web.config in developer server:
In my case, the 'Microsoft.ReportViewer.Common.dll' assembly is not required for my project, so I simply removed all references (Project -> Add Reference... -> ...) (all requirements from Publish tab the VS2013 removed automatically) and all works properly.
The Crystal Reports for Visual Studio is now known as Crystal Reports Developer Edition for Visual Studio. It is also known as CR for VS (CrforVs). Crystal Reports currently supports Visual Studio 2019, Visual Studio 2017, Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, Visual Studio 2010. Prior to Visual Studio 2010, the Crystal Reports were Installed along with Visual Studio.
Starting from Visual Studio 2010, the Crystal Reports are no longer installed with Visual Studio. Crystal Reports for Visual Studio must be downloaded and installed separately from the SAP Crystal Reports website. The Sap Crystal Reports is free to use and download.
To Create and develop Dot Net application with crystal reports, you need to install Crystal Reports Developer Edition for Visual Studio. To distribute the application to the client or as a web server, you need to install the Crystal Reports runtime.
You can download the latest edition of crystal reports from the official site. Just click on the following link. The latest version available is SP31 and it runs on all editions of visual studio starting from Visual Studio 2015 up to 2019.
If you are arriving here for the first time, then register with them. The Registration is free and allows you to access a few free pieces of stuff along with the software. The free stuff includes manuals, software downloads & access to Community.
Crystal Reports Crystal Reports For Visual Studio 2017 is released by SAP on 01.09.2017. The Service Pack Version that supports Visual Studio 2017 is 21. The Crystal Reports supports all editions of Visual Studio including the Visual Studio Community Edition.
Installing is a very simple process. Download the installer and execute it. You will be taken through the step-by-step process. You can also refer to the Tutorial below if you find any issues while installing it.
Non of the download links above are valid for the legacy products from SAP any longer. The SAP webpages and links from the Wiki are a disgrace and mostly broken for older products. Desperately need SP21 for VS2017 (CR 13.0.3500) and cannot find a download anywhere.
Hi, I have vs2015 and vs2017 installed. And the crystal report version in web.config is 13.0.3500.0 but the web is hosted where the crystal report is 13.0.2000.0. I already try sp20 which states 13.0.20. I also have use useLegacyV2RuntimeActivationPolicy in web.config.. What should I do. Please help
Hi sir,
I am using vs 2013 for window form and is taking default crystal report ref i.e (13.0.35.0).it is working fine at developer end. but I run at user end , error show: could not load file assembly Crystal.decisions.window.form version 13.0.3500.0.
How can i get runtime for the same version. or How can resolve? Please advise.
I have installed or updated the below CrystalReport packages from Package Manager console for my existing VB.Net application with crystal reports(Using 4.8 .Net Framework).
1. CrystalDecisions.CrystalReports.Engine
2. CrystalDecisions.Reportsource
3. CrystalDecisions.Shared
4. CrystalDecisions.Windows.Forms
5. CrystalDecisions.Web
i installed .Net framework 4.6 in windows 7 64 bit and Crystal reports working now. But our project is in .Net framework 4.5. should i use crystal report SP20 or below SP27 or below SP25 for .Net framework 4.5 compatibility.
Please suggest, your suggestion will be really helpful.