how use Report Viewer in Visual Web Developer 2010 Express - reportviewer

i have created web site in Web Developer Express. Now i am going to add some reports to project. so i am using Report Viewer web control. You know that it is not in toolbox by default. i added it to tollbox and add it to form when i run it show report. but on design mode ut gives error Failed To Create designer 'Microsoft.Reporting.WebForms.ReportViewer, Microsoft.Reporting.WebForms, Version =9.0.0.0, culture=neutral, PublicKeyToke=....'

According to this, the ReportViewer has been discontinued in Express, starting with 2010.
As a work-around, Microsoft recommends using BIDS 2008 (Business Intelligence Development Studio) for the report designer and the ReportViewer.exe redist for the run time.
Good luck!

Related

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.

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.

Add Visual Studio Web to Visual Studio Desktop

I just wanted to start learing WCF and could not find the WCF Service Library in my Visual Studio 2012 Windows Desktop. After reading and searching I found out that I need the VS Web to get access to it. Since I try to avoid installing two versions of VS I wat to ask if it is possible to add VS Web to VS Desktop.

How I can use ReportViewer with VS Express

I have no money to buy Visual Studio so I use the express edition
I want to use Microsoft ReportViewer
Is it legal to use ReportViewer without buying VS and how?
i had some luck installing the Microsoft Report Viewer 2010 Redistributable Package (from above) and then:
going to the form designer
right clicking on the toolbox and clicking add items
browsing for the DLL (which is located at C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.WinForms\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WinForms.dll
report viewer should then be available from the toolbox
There is a Microsoft Report Viewer 2010 Redistributable Package
I'm unsure whether this means you can use it in visual studio, nor am I certain about the licensing.
I haven't used express edition for a little while. I'm guessing the control is in the download, you could try adding one of the dll's as a control.
I believe that you can use Reporting Services in SQL Server Express (which is free), which might indicate the validity of using ReportViewer in vs express.

I'm having problems connecting to TFS VS2010 from VS 2008

If you are not able to connect to TFS VS2010 from VS2008. This might save you some time.
Connecting from VS2008 to TFS VS2010
Step:1 Make sure that Service Pack 1 is installed with Sql Server 2008
Step:2 Make sure that Service Pack 1 is installed with VS2008
Step:3 Make sure that Team Explorer is installed in VS 2008
Step:4 Make sure that Service pack 1 is updated for Team Explorer
Step:5 After all these Service Packs are installed on your machine, follow the below path
CmdPrompt> regedit
Hkey_Current_User>Software>Microsoft>VisualStudio>9.0>TeamFoundation> Right Click Servers>New>String Value
Give the complete URL path which look like ‘http://swstfs:8080/tfs/DefaultCollection’
Step:6 Close everything and open VS2008
File>Open>TeamProject
Step: 7 Connect.
I connected to TFS, but the problem is while I am trying to open the solution through VS2008 into TFS it is showing me an error
"This project (fmPilot.SSIS.ClientIntegrations.sln) cannot be opened from source control because it was created by a version of Microsoft Visual Studio that is incompatible with this one.
If this is the case, you may be able to open it from source control using that version of Microsoft Visual Studio, and then use Microsoft Visual Studio to open the local copy."
I also tried it through VS2010 but it is showing me an error
"Cannot be openned because its project type(/dtproj) is not supported bby this version of the application."
Can somebody help me on that..... I google it some says that permission might be the reason.. Please help me...
Thanks,
Karthik
Make sure that you have Business Intelligence Development Studio (BIDS) installed on your machine. Having just Visual Studio 2008 doesn't mean that you can open SSIS packages.
To verify whether you have BIDS installed:
Open Visual Studio 2008 IDE. Click Help and About Microsoft Visual Studio.
Make sure that you see SQL Server Integration Service.
Another way to verify is by trying to create a new project in VS 2008. You should see Business Intelligence Projects under Project types.
If you do not see this, then it means you don't have BIDS installed on your local machine. You can install BIDS by installing SQL Server 2008 client tools.
Following link shows how to install SQL Server 2008 client tools.
SQL Server 2008 Client Tools Installation