VS 2010 beta 2 Web ReportViewer Bug?

Posted by rip on Stack Overflow See other posts from Stack Overflow or by rip
Published on 2009-12-15T15:18:09Z Indexed on 2010/03/29 14:03 UTC
Read the original article Hit count: 990

The report viewer doesn't seem to work in asp.net projects in VS 2010. You get the following error:

Microsoft Jscript runtime error: ‘Microsoft’ is undefined.

VS also breaks on the following line of javascript code:

$create(Microsoft.Reporting.WebFormsClient.ReportViewer, {"_internalViewerId":"ctl00_MainContent_ReportViewer1_ctl03","id":"ctl00_MainContent_ReportViewer1"}, null, null);

Steps to recreate problem:

  • In Visual Studio 2010 beta 2 create a new asp.net project
  • Drag a ScriptManager control on to default.aspx
  • Drag a ReportViewer control on to default.aspx
  • Build and run the project
  • You then get the problem

Is this a bug or am I doing something wrong?

© Stack Overflow or respective owner

Related posts about visual-studio-2010-beta-2

Related posts about ASP.NET