none
failed to create component "Reportviewer" RRS feed

  • Question

  • We just converted a system from VS2008 to VS2010. Attempting to load a report viewer gives the error message failed to create component "Reportviewer". Has anyone else come across this problem/ If so, how did you resolve it? Thanks
    Tuesday, June 1, 2010 8:34 PM

Answers

  • VS2010 contains a new ReportViewer control, not the one in VS2008. You'll need to update the references in your project to the 10.0.0.0 version of Microsoft.ReportViewer.WinForms.dll and Microsoft.ReportViewer.Common.dll.


    Cephas Lin This posting is provided "AS IS" with no warranties.
    • Marked as answer by zulu5255 Wednesday, June 2, 2010 3:40 PM
    Tuesday, June 1, 2010 9:42 PM
    Moderator

All replies

  • VS2010 contains a new ReportViewer control, not the one in VS2008. You'll need to update the references in your project to the 10.0.0.0 version of Microsoft.ReportViewer.WinForms.dll and Microsoft.ReportViewer.Common.dll.


    Cephas Lin This posting is provided "AS IS" with no warranties.
    • Marked as answer by zulu5255 Wednesday, June 2, 2010 3:40 PM
    Tuesday, June 1, 2010 9:42 PM
    Moderator
  • oh brother i had same problem when i upgraded my project from vs2008 to vs2010 so what i did is to remove the ReportVwer.design and Reportviewer.Common from reference and than problem solved.......

    hope it will work for you as well....

    • Proposed as answer by J.Jayakumar Thursday, February 23, 2012 4:45 PM
    Wednesday, August 4, 2010 8:39 PM
  • oh brother i had same problem when i upgraded my project from vs2008 to vs2010 so what i did is to remove the ReportVwer.design and Reportviewer.Common from reference and than problem solved.......

    hope it will work for you as well....

    It works also when you upgrade to vs2012!!
    Tuesday, August 28, 2012 2:46 AM
  • yes - project- add reference-assemble( search textbox = report)  then unchecked both
    Sunday, October 8, 2017 7:10 AM