Save SSRS Report as PDF in C# programmatically

The webservice URL you are using (ReportService2012) is for managing the report server objects.

If you need to render reports, you should be using the ReportExecution2005 webservice.

To get started, you should take a look at the Render method.


To specify credentials you can add the folowing line (I'm the same variable name used in your link: RS2005):

RS2005.Credentials = new System.Net.NetworkCredential("username", "password", "domain");

EDIT:

Your access denied error occurs when your application try to save the file with your web application, so you should use an absolute path or resolve it using Server.MapPath