Error rendering server report in reportviewer RRS feed

  • Question


    I have a report deployed to a SQL 2005 server. In a winforms app, I created a simple form and placed a reportViewer control on it. I set processing mode to Remote and set the ReportServerURL and ReportPath properties. When I try to run it, I get the following error:


    Code Block

    System.TypeLoadException occurred
      Message="Failed to load the proxy script runtime environment from the Microsoft.JScript assembly."
           at System.Net.AutoWebProxyScriptWrapper..ctor()


    The inner exception reads:

    Code Block
    {That assembly does not allow partially trusted callers.}



    My app is set to full trust.


    The report can be viewed in the designer, from a browser, and from a browser control, but not from within the ReportViewer control.


    Any ideas would be helpful.
    Thursday, November 15, 2007 11:02 PM