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

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?

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.

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.

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/