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 - vb.net

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

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.

vb.net ClassNotRegistered error only in Release

This is a legacy project in vb.net. When I run it in debug there are no errors but when I create a release version and run it in VS, I get a class not registered error when the code tries to instantiate a form. I am pretty sure the error has to do with a Crystal Reports dll, perhaps AxCrystal, but of course there is no useful information, like, which class.
Any suggestions, hints, anything are very welcome.
Try to register the class as it is described here:
A solution for this problem is to register the PrintContoll.dll
First the Crystal Reports 2010 SP1 Redistributable needs to be installed.
Then download the following file containing the PrintControll.dll:
ActiveXControls Crystal Reports 2011 SP1
Extract the folder ‘ActiveXControls’ to:
C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\Crystal Reports 2011\crystalreportviewers

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/

Report Viewer in 2010 with .Net 3.5 causing Error when compiled

I'm using Vs 2010 with .Net 3.5. I have windows project and using Report Viewer for reporting purpose. I designed reports using Report Viewer. It works fine on my machine but on deployment server, compiler gives the following error:
The report definition is not valid. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'
which cannot be upgr
aded.
Please note that I have all of my report files as Content.
Thanks a million.
Is VS2010 and .net 3.5 installed on your build server? And reportviewer?