0

I am trying to render a report using the ReportExecution2005 web service. I have no problems rendering a report locally, but when I try to call it on Azure, it always fails with the message that the item can't be found.

The report is called "Invoice.rdl". Here's how I'm calling it (snippet):

ReportExecutionService rs = new ReportExecutionService()
{
    CookieContainer = new CookieContainer(),
    ExecutionHeaderValue = execHeader,
    Url = string.Format("https://{0}:443/ReportServer/ReportExecution2005.amsx", "myUrl")
}

rs.LogonUser("myUsername", "myPassword", "myUrl");

rs.LoadReport("/Reports/Invoice", _historyId); // here the exception is thrown

I've tried it with different paths, e.g. /Invoice, /SSRSReport/Invoice, /ReportServer/Invoice etc., none seem to work.

Any ideas?

1

1 Answer 1

0

OK, turned out to be a stupid problem. When uploading the report from the old Windows Azure management portal, it would leave the ".rdl" file extension in the name.

Removing it fixed the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.