Introduction:
Here I will explain how to solve the problem of “'Microsoft.Reporting.WinForms.ReportViewer' does not contain a definition for 'ReportSource' and no extension method 'ReportSource' accepting a first argument of type 'Microsoft.Reporting.WinForms.ReportViewer' could be found (are you missing a using directive or an assembly reference?)” while using crystal reports in windows applications in C#, vb.net.
Description:
In previous posts I explained many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “'Microsoft.Reporting.WinForms.ReportViewer' does not contain a definition for 'ReportSource' and no extension method 'ReportSource' accepting a first argument of type 'Microsoft.Reporting.WinForms.ReportViewer' could be found (are you missing a using directive or an assembly reference?)” while using crystal reports in windows applications in C#, vb.net like as shown below
Here I will explain how to solve the problem of “'Microsoft.Reporting.WinForms.ReportViewer' does not contain a definition for 'ReportSource' and no extension method 'ReportSource' accepting a first argument of type 'Microsoft.Reporting.WinForms.ReportViewer' could be found (are you missing a using directive or an assembly reference?)” while using crystal reports in windows applications in C#, vb.net.
Description:
In previous posts I explained many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “'Microsoft.Reporting.WinForms.ReportViewer' does not contain a definition for 'ReportSource' and no extension method 'ReportSource' accepting a first argument of type 'Microsoft.Reporting.WinForms.ReportViewer' could be found (are you missing a using directive or an assembly reference?)” while using crystal reports in windows applications in C#, vb.net like as shown below
This
problem occurs because of version compatibility problem in visual studio to fix
this problem we need to remove existing CrystalReportviewer
control from Toolbox if it already exists in toolbox like as shown below
Once
we removed again we need to add CrystalReportviewer
control from Toolbox Items like as shown below
From
Choose Toolbox Items window select CrystalReportViewer control and click OK like as shown below
|
I
hope it helps you to solve your problem. Happy Coding……
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
|
|||
0 comments :
Note: Only a member of this blog may post a comment.