Reputation: 6554
I have been given a task to generate a number of Excel files for our business and as a method of delivery I was considering SQL Server 2005 Reporting Services (SSRS).
What I want to do is either generate the Excel spreadshhets from SSIS or a .Net (C#/VB) application then programatically upload the file to the appropriate area within SSRS.
There does not appear to be any documentation for this so I'm not sure that this is supported but I did see this post which discusses report execution so was interested in other methods.
Microsoft.SqlServer.ReportExecution.ReportExecutionService rsExec =
new Microsoft.SqlServer.ReportExecution.ReportExecutionService();
rsExec.Credentials = System.Net.CredentialCache.DefaultCredentials;
rsExec.Url = @"http://<ServerName>/reportserver/ReportExecution2005.asmx";
Does anyone have an experience in programatically uploading files to SSRS? Can you point me to any relevant articles?
Upvotes: 0
Views: 1843
Reputation: 6446
There is a CreateResource method in the ReportingServices object model... see a description of uploading PDF's programmatically here. You can then modify that to your requriements.
Upvotes: 1