I have a function which controls the export if my reports.
On my test server all my reports export without a problem but as soon as I move the solution to my live server the reports no longer export?
I get the following error message
"Access to report file denied. Another program may be using it."
Any ideas?
I would also like to setup a print button so that when people click on it my reports will be converted to pdf and then printed through adobe.
And the last thing is that I am just about to change my SQL server login from 'sa' to something else. But when I try and open my new reports I get errors saying the username or password is wrong. How do I set the username and password from the ASP.NET page?
Here is the code I am using at the moment
crReport = new ReportDocument();
crReport.Load("C:\\Inetpub\\ReportViewer.ReportSource = crReport;
Short and sweet....
Thanks,
Gavin
On my test server all my reports export without a problem but as soon as I move the solution to my live server the reports no longer export?
I get the following error message
"Access to report file denied. Another program may be using it."
Any ideas?
I would also like to setup a print button so that when people click on it my reports will be converted to pdf and then printed through adobe.
And the last thing is that I am just about to change my SQL server login from 'sa' to something else. But when I try and open my new reports I get errors saying the username or password is wrong. How do I set the username and password from the ASP.NET page?
Here is the code I am using at the moment
crReport = new ReportDocument();
crReport.Load("C:\\Inetpub\\ReportViewer.ReportSource = crReport;
Short and sweet....
Thanks,
Gavin