Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, March 8, 2016 3:16 AM
Hi Guys,
Please help me with this issue, I upgraded from VS 2012 to 2015.
The problem is that I can't see the RDLC ReportViewer in the toolbox and due to this, some of my forms that uses ReportViewer results to errors. One of them is:
'Microsoft.Reporting.Winforms' doesn't contain any public member or cannot be found.
Please help me fix this.
Thanks!
All replies (3)
Tuesday, March 8, 2016 6:06 AM âś…Answered
Hi,
Thanks for your post.
The Report View is part of the Microsoft SQL Server Data Tools.
So please install the Microsoft SQL Server Data Tools.(Programs and Features > Visual Studio 2015 > Change->Modify)
After install the Microsoft SQL Server Data Tools. Then you can find the Report Viewer in the toolbox.
Best Regards,
Lake Xiao
Tuesday, March 8, 2016 6:25 AM
Hi Lake Xiao,
Thanks for the response.
I already tried that but after dragging the ReportViewer to the form, nothing happened.
The ReportViewer didn't appear in the Form. Addition to that, I still have this error to my previous code:
'Microsoft.Reporting.Winforms' doesn't contain any public member or cannot be found.
Thanks!
Tuesday, March 8, 2016 6:37 AM
Hi,
I did a test in my side, and I can drag the Report View into the form successfully.
So in order to exclude the cause of your IDE. I suggest you could create a new windows form application and try to drag the Report View to the form. Check whether the same error occurred.
1. If the report view control still can not be disappeared in the form. I think there is something wrong with your VS2015 itself. You can repair it then try it again.
2. If it works well for the new created windows form application. I think the problem is probably in your project since it was created in VS2012. I suppose there might be some compatibility issues in when opening it in VS2015.
To avoid this kind of issue. I suggest you could create a new windows form application and copy the code into it.
Hope it helps.
Best Regards,
Lake Xiao