none
LoadReportDefinition Error for ServerReports on WebForms RRS feed

  • Question

  • When I try this...

     

    ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;

    ReportViewer1.ServerReport.ReportServerUrl = new Uri(ConfigHelper.GetSettingAsString("ReportingServicesURL"));

    m_rdl = GenerateRDL(reportURL);

     

    ReportViewer1.ServerReport.LoadReportDefinition(m_rdl);

     

    I get this...


    ErrorCode: rsAccessDenied
    Message: The permissions granted to user 'mymachine\IUSR_mymachine' are insufficient for performing this operation. (rsAccessDenied)

     

    On the LoadReportDefinition() line.

     

    Any ideas?

     

    Works ok if I specify the full report path, but then I can't load the subreports dynamically.

    Friday, February 8, 2008 8:21 PM

Answers

  • Running non-published reports on the report server requires a specific report server permission.  You need the "Execute Report Definitions" system permission.  This is granted to the "System User" role by default, but that can be changed by server administrators.

    Friday, February 15, 2008 3:42 AM
    Moderator