Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Crystal ReportViewer Does not Contain a Definition for 'ReportSource' and No Extension Method 'ReportSource' Accepting a first Argument of Type

Dec 9, 2014
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 



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.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email

0 comments :

Give your Valuable Comments

Other Related Posts

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.