Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9099599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:39:28+00:00 2026-06-17T00:39:28+00:00

I have a report that when run normally it returns the correct data, but

  • 0

I have a report that when run normally it returns the correct data, but when I run via the report execution service the report does not contain any data. We do pass in a parameter that contains the ID that we filter on, using a label on the report we can validate that it is getting sent.

If I look at the ExecutionLogStorage table I can see my report ran with a Status of rsSuccess but the RowCount is 0. There are no errors in the event log or report server logs.

Below is the method that we use to report the report to PDF:

    public byte[] Render( ReportRequest rptRequest )
    {
        ReportExecutionService rs = new ReportExecutionService();

        rs.Credentials = CredentialCache.DefaultCredentials;
        rs.Url = rptRequest.ReportExecutionServerEndPoint;

        string reportPath = string.Format(
            "/{0}/{1}",
            rptRequest.ReportDataBaseName,
            rptRequest.ReportName );

        string format = "PDF";

        string historyID = null;
        string devInfo =
            @"<DeviceInfo><Toolbar>False</Toolbar></DeviceInfo>";

        string encoding;
        string mimeType;
        string extension;
        Warning[] warnings;
        string[] streamIDs;

        ExecutionHeader execHeader = new ExecutionHeader();

        rs.ExecutionHeaderValue = execHeader;
        rs.LoadReport( reportPath, historyID );

        rs.SetExecutionParameters( rptRequest.ReportParameters, "en-us" );

        return rs.Render(
            format,
            devInfo,
            out extension,
            out encoding,
            out mimeType,
            out warnings,
            out streamIDs );
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T00:39:29+00:00Added an answer on June 17, 2026 at 12:39 am

    Turns out that the code was running under a different user account when it was deployed. That account did not have permissions to read any of the data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have noticed that when I run a report that contains nothing but an
I have a report that I run from a system once a week, and
I have a report that is returning a one data field to a tablix
I have a particular report that I am asked to run from time to
I have a report that needs to get data from two logical areas of
I have a basic report that has 7 fields. I want the data to
I have a report creator program made in Java that needs to run every
i have a crystal report that returns the records i need based on criteria
I have a report that I need to run multiple times and save as
I have a recurring report that is run twice a month to check for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.