ReportViewer for Visual Studio 2008


I am trying to create a report in VS 2008.  I have ReportViewer 9.0.0.0.  When I drag the report viewer control to the web page I get an error:  "Error Creating Control:  ReportViewer.  Failed to create designer "Microsoft.Reporting.WinForms.ReportViewer, Microsoft.ReportViewer.WinForms, Version = 10.0.0.0, culture = neutral, . . .

I have every thing else designed: dataset, report, etc.

Can anyone help me resolve this problem?
jordanhelenAsked:
Who is Participating?
 
ValentinoVBI ConsultantCommented:
It seems like you're trying to use the WinForms version of the ReportViewer in your web app.  WinForms is for thick-client (i.e. regular) Windows apps.

The one you need is located in the Microsoft.ReportViewer.WebForms namespace.

See also: http://msdn.microsoft.com/en-us/library/ms251723(v=VS.90).aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.