Find items is SSRS by Id

Posted by chief7 on Stack Overflow See other posts from Stack Overflow or by chief7
Published on 2010-03-14T18:05:38Z Indexed on 2010/03/15 15:19 UTC
Read the original article Hit count: 421

Filed under:

How do you find items in SSRS by ID? I tried to use the id returned by another find result, a new guid to string and small random string all of which return the same error:

The ID field has a value that is not valid. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidElementException: The ID field has a value that is not valid.

Here is the code:

var request = new FindItemsRequest
        {
            Conditions = new[] { new SearchCondition { Name = "ID", Value = "test"} },
            Folder = "/"
        };
        return _ssrsService
            .FindItems(request)
            .Items

I'm using SSRS 2005.

© Stack Overflow or respective owner

Related posts about ssrs-2005