title: How do I render a remote ReportViewer aspx page in MVC4?
body: <p>I'm working on an MVC4 application that needs to render a remote report from SSRS using the ReportViewer. With help from this forum, I've managed to get the page to render under MVC, but callbacks won't work (loads the initial page). Exporting the report works fine (and gives all pages). When I inspect the page, I noticed the following error after changing pages:</p>
  
  <blockquote>
    <p>Uncaught Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed.</p>
  </blockquote>
  
  <p>I found <a href="http://weblogs.asp.net/rajbk/archive/2010/05/11/running-asp-net-webforms-and-asp-net-mvc-side-by-side.aspx" rel="nofollow noreferrer">this article</a> on combining MVC and Web Forms, but it appears outdated since there are no more Master layout pages. This is related to but not a duplicate of <a href="https://stackoverflow.com/questions/6144513/how-can-i-use-a-reportviewer-control-in-an-asp-net-mvc-3-razor-view">How can I use a reportviewer control in an asp.net mvc 3 razor view?</a> since that article is only for local reports. I've tried changing AsyncRendering to true and false. When true, it doesn't load at all. Any suggestions would be greatly appreciated.</p>
  
  <p>Update: AsyncRendering behavior <a href="https://connect.microsoft.com/VisualStudio/feedback/details/541538/webforms-ssrs-viewer-hangs-when-using-asyncrendering-true" rel="nofollow noreferrer">appears to have changed</a> between previous versions of Visual Studio. </p>