Cant Deploy the Crystal Report Viewe Forms in Client Computers - vb.net

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

Related

VS 2019 VB.net Winform trying to modify an existing .rdlc but it wants to upgrade the format and then i get a definition of report invalid

I have a vb.net winform application. It has been around for years. I'm using VS 2019 community edition. When i try to open the rdlc file it tells me that I need to upgrade the format. I do that and then when i run the application i get an error that the definition of the report is invalid. I've read where i need to install the extension Microsoft.RdlcDesigner. I have done that and i can go in see my report in the designer but it still won't run.
The exact error is
An Error occurred during local processing. The definition of hte report " is invalid. The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created wih a later version of Reporting Services, or contain contet that is not well-formed or not valid based on Reporting Services schemas. Details: the report definition has invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2015/01/reportdefinition' which cannot be upgraded.
i'm using an rdlc file so the vb app is using reportviewer to hit a local database.. no reporting service server is involved.
anyone have any ideas
thanks
I figured out a poor workaround. If i open the rdlc file in visual studio 2013 and let it upgrade the format.. then i can modify the report in the designer. Save the rdlc and close vs2013. then open the VS 2019 project and it will compile and run the report. Not great.. but at least its working

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?

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.