I am currently working on a C# application for my company that goes out to our SSRS server, runs specific reports, formats the excel reports in the application, and then spits them out to a location. The application is working as intended and there is just one little annoyance. Every time a specific report type is run the credentials for SSRS must be entered. We are opening the excel file with the report's URL as the file name. This is the code that actually opens the excel file from our application:
Microsoft.Office.Interop.Excel.Workbook excelActiveBook;
excelActiveBook = excelApp.Workbooks.Open(reportURL, 0, false, 5, System.Reflection.Missing.Value, System.Reflection.Missing.Value, false, System.Reflection.Missing.Value, System.Reflection.Missing.Value, true, false, System.Reflection.Missing.Value, false, false, false);
Is there any way to pass in credentials to SSRS through this application we have written. We are using SSRS 2005. Please let me know if there is any other useful information I can provide.
Thanks Chris