VB.NEt crystal reports does not display all data - vb.net

good afternoon!
I created a system for windows that uses crystal reports and the reports on my computer work normally. I have installed the same system on another computer, crystal reports has trouble appending the data, the report has some data and some does not. Anyone know how to solve this, I suspect it's a problem with SAP Crystal Reports records.

I got it sorted out. The report was developed with version 13_0_15 and for the client computer version was installing 13_0_18. So there was incompatibility and it did not show all the data. To solve just installed the version similar to the development version.

Related

Cant Deploy the Crystal Report Viewe Forms in Client Computers

I'm new to VB.Net and I'm trying to develop a desktop app using VB.Net 2019 and Crystal reports. I have few questions which i need some clarifications.
My project is is working fine in my development machine.(VB.Net , MS SQL , Crystal Reports). But when trying to deploy it to clients, I get some errors when trying to load reports. I have installed CR13SP27MSI32_0-10010309 in development pc and CR13SP27MSI32_0-10010309 for clients.
I Have inserted and designed the Crystal Reports inside Visual studio IDE. So, when loading reports crystal report viewer, I do not use a report path in the code. I just declare a new instance of the existing report. Is this correct or do i always have to show the physical path of the report source?
I tried to to create a setup project but It fails during the build. So, I copied the exe to a client machine and I get a error when trying to load a form with a Crystal Report Viewer. Is it because the required files are missing from the client PC?. Do i have to install both Visual studio and Crystal report in client computers?
Client machines don't need Crystal Designer. They need Crystal Runtime for .NET framework, which has separate installs (one for 32-bit and one for 64-bit).
Here is a good official resource: https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

Connect Crystal Report with DataSet

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.

how to deploy crystal report on client machine, in vb.net

I am working on VB.net project with Crystal report.
My problem is that, on the client's machine Crystal report forms are failing with the following error;
Error-> "Either the crystal report registry key permissions are
insufficient,or the crystal reports run time is not installed
correctly"
Any idea how to solve the issue please?
you need to install crystal report viewer only to client PC, not the whole software just the viewer.
depends on client PC 64 bit or 32 bit, and the version has been developed with.

Crystal Report unable to display

I am using Visual Studio 2010 asp.net and crystal report ver.13 for my project, everything work fine until i publish my project to Apache. Crystal report was not display although the other page works fine. Is it possible to run crystal report on APACHE which is configured using mod_aspdotnet
Help and advise is needed. Thank you
Have you installed the runtimes on your apache server?

Multi targeting in vs2008 with crystal reports

Is there a way to make VS2008 work with the old (vs2005 crystal reports) assemblies and not require any updates to be installed in the client machines?
We have upgraded a Visual Studio 2005 .net 2.0 solution to Visual Studio 2008. The purpose is to take advantage of the IDE improvements and because it supports multi targeting. The solution still has to be built against .net 2.0.
It all works as advertised, we rebuild and run it in a machine with only .net 2.0 installed. But during testing we get an exception when we try to show a Crystal Report that is included with the application.
Then upon review we find out that without telling us, Visual Studio changed the references to the crystal assemblies and pointed our solution to the updated versions that come with vs2008, which requires crystal runtime be updated on client machines.
We did try removing the references and adding the old ones but it won't compile.
don't use Crystal reports
You could try to put all reports in a separate project. Then create a second visual studio solution in VS2005 which uses the same project (add existing project).
Then use VS2005 for editing your reports. Create a library directory for your references in vs2008 and reference the vs2005 dll's.
Don't know for sure if it works, but it could be worth a try.
We tried this and ultimately just ended up upgrading all of our machines internally to the latest and (not so) greatest.
I would just bite the bullet and upgrade. I've found some performance improvements in the Crystal Reports 2008 for some data intensive reports.
We ran into the same problem. You can have the project reference the old DLLS, which works but can lead to DLL hell. Having fought that kind of battle before, I can't recommend it.
After exploring the Crystal Reports site for a long time, I came to the conclusion that there is no good way to solve this problem short of upgrading to Crystal Reports 2008 or switching to a different reporting engine.
In our case, we had not yet developed a large number of Crytal Reports, and our reporting needs are modest. We switched to the Microsoft Reporting Technology that is bundled into Visual Studio. It took a bit of effort to figure out, but so far it looks like it will do anything we will ever need. Not upgrading Crystal Reports saved us a non-trivial amount of money.
Hope this helps.
don't use Crystal reports
You could try to put all reports in a separate project. Then create a second visual studio solution in VS2005 which uses the same project (add existing project). Then use VS2005 for editing your reports. Create a library directory for your references in vs2008 and reference the vs2005 dll's.
Don't know for sure if it works, but it could be worth a try.