visual-studio-2012web-hostingvisual-studio-lightswitchreport-viewer2012

Microsoft ReportViewer Control - Method 'HandleImpersonation' in type 'Microsoft.Reporting.WebForms.DataSetExtensionConnection'


I deployed a Ligthswitch application with microsoft reportviewer 2012. After I deployed the application to winhost I ran into this issue when I try to print any report. Everything works fine locally. I'm new to all this web development and deployment.

An error occurred during local report processing.
    Method 'HandleImpersonation' in type 'Microsoft.Reporting.WebForms.DataSetExtensionConnection' from assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' does not have an implementation. 

I've been stuck on this for several days now. If anyone can help I would really appreciate it. Remember, I'm new to all this so please correct me if my wording is a bit off.

Thanks! Aldwin M.


Solution

  • All I did is change the processing mode property of the report to remote. This is explained at msdn.

    https://msdn.microsoft.com/en-us/library/aa337091.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-2

    If anyone encounters the issue let me know if you need some help.tnx!