locked
The full path must be less than 260 characters long; other restrictions apply RRS feed

  • Question

  • User-1716108873 posted

    ReportExecutionService rs = new ReportExecutionService();
    rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
    rs.Url = http://testreportserver/reportserver/ReportExecution2005.asmx;
    byte[] result = null;
    string rptpath = "/testreportserver/Reports/Folder/Report.aspx?ItemPath=&Patient+Records&MedicalHistoryReport";
    string format = "Word";
    string historyID = null;
    string devInfo = @"<DeviceInfo><Toolbar>False</Toolbar></DeviceInfo>";
    ParameterValue[] parameters = new ParameterValue[0];
    parameters[0] = new ParameterValue();
    DataSourceCredentials[] credentials = null;
    string showHideToggle = null;
    string encoding; string mimeType;
    string extension;
    Warning[] warnings = null;
    ParameterValue[] reportHistoryParameters = null;
    string[] streamIDs = null;
    ExecutionInfo execInfo = new ExecutionInfo();
    ExecutionHeader execHeader = new ExecutionHeader();
    rs.ExecutionHeaderValue = execHeader;
    execInfo = rs.LoadReport(reportPath, historyID);                //error here

    Sunday, June 24, 2012 9:27 PM

All replies

  • User165519407 posted

    Is this causing the error?   --  LoadReport( reportPath or  rptpath

    Sunday, June 24, 2012 11:39 PM
  • User-1716108873 posted

    That's the line where it breaks.

    Monday, June 25, 2012 1:05 AM