Connect Crystal Report with DataSet - asp.net-core

I have a problem when I want to connect Crystal Report with DataSet in c#.
Error
failed to load database information, details: unable to load database connector 'crdb_adoplus.dll'. the correct version of the database client for this type of database may not be installed.
Here's a Screenshot
Can you help me please?

I had the same problem on Microsoft Visual studio 2019 by installing SP26 "SAP Crystal Reports runtime engine for .NET Framework (64-bit)" before "SAP Crystal Reports, version for Microsoft Studio".
The main problem is that the run-time engine doesn't copy crdb_adoplus.dll file which need to Crystal Report to load data from ADO.Net dataset.
If you also followed my installation sequence, you must:
Remove "SAP Crystal Reports runtime engine for .NET Framework (XX-bit)" and "SAP Crystal Reports, version for Microsoft Studio" by the control panel.
Run the "SAP Crystal Reports, version for Microsoft Studio" installer as Administrator. After the installation, it will automatically ask you to install the correct engine.
See also:
Crystal Report SP26 SetDataSource() Method failed in computers of clients in Visual Studio 2019

We are using Crystal Report's on 20+ server and we always install x32 and x64bit version.Today i installed SP30 from here for VS2019 https://www.tektutorialshub.com/crystal-reports/download-crystal-reports-for-visual-studio-2019/ , also today i tried to add a field to dataset and gave me 'crdb_adoplus.dll' error. After a lot of search, i installed x32 bit runtime both x64bit, it worked.

I had the same problem.
I uninstalled all crystal reports (for visual studio and runtime) and install only the version for Visual Studio and installed the runtime checking the last checkbox on the installation wizard (to install the correct runtime).
I think that when installing on top of an existing crystal some files are missing.

Related

Deploy vb Application Crystal Reports

I have a vb application that relies heavily on Crystal Report. The reports run fine while in development mode but once the executable is generated it doesnt open the reports anymore and raises an exception saying Load Report Failed ( with a bunch of CrystalDecision references that it can't find).
Development Environment:
Visual Studio 2017
Win10 64bit
Crystal Report (forVS and Runtime) 13.0.21
Target:
win7 on 32bit
.NET 4.5
Crystal Report Runtime 13.0.5
We tried including the Crystal references that might be causing the problem when publishing the project but that didnt resolve the problem.
Also, the project was initially developped in Microsoft Visual Studio 2012 with CR 13.0.5 and apparently at some point they did some additional dev in VS2017 and so had to migrate the reports to a supported version of CR.
Any suggestions would be highly appreciated.
Thanks!
You can't simply include the missing references for Crystal Reports. You need to install the Crystal Reports Redistributable (Runtime) for your version on the target system.

Missing Microsoft RDLC Report Designer in Visual Studio

In Visual Studio 2015, I cannot find the designer for RDLC reports anymore. Does anyone know if this is only a bug and if it is provided later on or if Microsoft wants to kill the RDLC or if they want us to use an external designer and when, which designer this is?
Update
For developpers searching for the RDLC Report Designer in Visual Studio 2017,
it must be now downloaded from the Visual Studio Marketplace
Visual Studio 2017 and newer
The RDLC Report Designer can be found on the Visual Studio Marketplace:
for Visual Studio 2022
for Visual Studio 2017 - 2019
Besides that, the ReportViewer Control, which is the runtime requirement for showing reports in ASP.NET or Windows Forms Applications, is now available through NuGet. See here for details.
Visual Studio 2015
The Report Designer is part of the Microsoft SQL Server Data Tools.
You can add it using the Visual Studio setup (Programs and Features > Visual Studio 2015 > Change)
In VS 2017, i have checked SQL Server Data Tools during the installation and it doesn't help. So I have downloaded and installed Microsoft.RdlcDesigner.vsix
Now it works.
UPDATE
Another way is to use Extensions and Updates.
Go to Tools > Extensions and Updates choose Online then search for Microsoft Rdlc Report Designer for Visual studio and click Download. It need to close VS to start installation. After installation you will be able to use rdlc designer.
Hope this helps!
Open Control Panel > Programs > Programs and Features
Select the entry for your version of Microsoft Visual Studio 2015. In our case, it was Microsoft Visual Studio Enterprise 2015.
Click the "Change" button on the top bar above the program list.
After the splash screen, a window will open.
Press the "Modify" button.
Select Windows and Web Development > Microsoft SQL Server Data Tools, and check the box next to it.
Press the "Update" button on the lower-right hand side of the window.
Once the installation is complete, open your version of Visual Studio. After the new .dll files are loaded, Reporting functionality should be reimplemented, and you should be able to access all related forms, controls, and objects.
Visual Studio 2017
Open Visual Studio
In Tools -> Extensions and Updates -> Online
Search for 'rdlc'
Install Microsoft Rdlc Report Designer (23.3 MB)
Close Visual Studio, let the installer run and open Visual Studio to see the rdlc in the designer.
I had the same problem, after install the MS VS Community 2015, I didn't find the RDLC files neither the Report Viewer component, I solve the problem by going in the Control Panel (Windows) -> Programs -> Try to uninstall the MS VS Community and choose MODIFY, in this moment you will be able to Check the Microsoft SQL Server Data Tools.
That is it!
In addition to previous answers, here is a link to the latest SQL Server Data Tools. Note that the download link for Visual Studio 2015 is broken. ISO is available from here, links at the bottom of the page:
https://msdn.microsoft.com/en-us/library/mt204009.aspx
MSDN Subscriber Downloads do not list the VS 2015 compatible version at the time of writing.
However, even with the latest tools (February 2015), I can't open previous version of .rptproj files.
I've had the same problem as you and I installed Microsoft rdlc designer to solve my problem.
And if you already installed this but still can't found rdlc designer try open visual studio > tools > Extension and Updates > then enable Miscrosoft Rdlc designer extensions.
If you did a custom installation you need to add Microsoft Sql Server Data Tools. After that you can add Reportviwer to your webform.
To solve this problem open nutget package manager console and select your project and type install-package microsoft.report.viewer and wait to install
The setup feature does not work on Visual Studio 2017 and later versions.
The extension needs to be downloaded from VS Marketplace and then installed -
Link
The same applies to other extensions such as Installer Projects (used for creating executable files) - Link
Below Different tools for Editing Rdlc report:
ReportBuilder 3.0 : Microsoft Editor for Rdlc report.
Microsoft® SQL Server® 2008 Express with Advanced Services: Another tool is to use Sql Server Business intelligence for reporting that can be installed with Sql Server Express with Advanced Sevices.
fyiReporting: It is opensource tool presented for editing Rdlc reports .
This trouble passed me. If you can't repair this trouble, perhaps can you review all Framework versions that you have in your system. For example, if you have ReportViewer for Framework 4.5 and your project is assembly in Framework 2 or another Framework minor at 4.5. The differents versions Framework sometime have problems.
Use Extensions and Updates.
Go to Tools > Extensions and Updates > choose Online then search for Microsoft Rdlc Report Designer for Visual studio and click Download.
It needs to close your VS to start installation.
After installation you will be able to use RDLC designer.

SAP Crystal Reports in toolbox does not exist VB.NET 2010

i have problem with my project,
i using Windows 7 enterprise 64 bit, and Visual Studio 2010 64 bit, i was Install SAP Crystal Reports Run time 64 bit in my notebook, but when i was open my Visual Studio 2010, in toolbox does not exist SAP Crystal Reports's tool,
anybody know where my error ? i have somebody can help me :(
Please note: To integrate "SAP Crystal Reports, developer version for Microsoft Visual Studio" into VS 2010 or 2012, you must run the Install Executable. Running the MSI will not fully integrate Crystal Reports into VS. MSI files by definition are for runtime distribution only.
You should install CRforVS_13_0_X.exe which you can download here
Hope this help.

WARNING: Unable to find dependency

I have built an application with VB.net 2010 and framework 4 and I have installed crystal report too. whenever I try to create a setup, this warning appears :
WARNING: Unable to find dependency
'BUSINESSOBJECTS.LICENSING.KEYCODEDECODER'
(Signature='692FBEA5521E1304' Version='13.0.2000.0') of assembly
'CrystalDecisions.CrystalReports.Engine.dll'
this error shows when I install on other PCs .
Do you have any idea about this ?
thanks in advance
I think you must to install Crystal Report 2010 on the client where you are running your application.
From msdn blog:
Starting on Friday, April 16th, the beta version of Crystal Reports
for Visual Studio 2010 will be available as a separate download from
this site. Just like when Crystal Reports was integrated into the
Visual Studio installation, this download will continue to be free.
From: http://blogs.msdn.com/b/vbteam/archive/2010/04/08/crystal-reports-for-visual-studio-2010.aspx?PageIndex=4
Take a look here: http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/91f71ce2-e591-45a1-8bc2-0d61cd090117/

Steps to follow for deploying my vb.net project

I am ready to deploy my vb.net project to my client computer.
In my development computer I have crystal report 9, sql server express and .net framework 3.5 installed.
My Client computer hasn't got anything installed there...
I am trying to making msi installer so that it will be easy for my client to install.
I created the new solutions -> setup type project, added the project on it and build it.
it successfully created the msi installer but it doesn't installs the sql server express and crystal report.
How do i make the installer with crystal report and sql server and also with db
I'm not sure what version of Visual Studio you are using but assuming you have 2008:
To add the crystal reports files to the setup project:
Go to the deployment project's properties page.
Click the "Prerequisites" button.
Add the "Crystal Reports Basic for Visual Studio 2008"
Alternatively search for the correct Merge Modules for your Crystal Reports version.
I am yet to see an 'easy' install that includes Crystal Reports but you never know.
You'll have to deploy the database seperately, just install SQL Server Express and do a backup-restore on the database.