G
Guest
Hello, I'm creating a little app in C# to help with deploying reports using
rs.exe from the SQL Reporting Services.
I create a new Process() with a Try and Catch but I would like to get the
errors returned by rs.exe as well as the new process I create in C#.
If I run this and intentionally leave out any parameters for rs.exe, the
whole process runs in a blink of an eye with no warnings or errors but of
course nothing has been deployed.
My code:
p = new Process();
p.StartInfo.FileName = "rs.exe";
p.StartInfo.Arguments = "";//"rs -i PublishReports.rss -s
http://localhost/reportserver";
try
{
p.Start();
}
catch(Exception ex) {MessageBox.Show(ex.Message);}
My post in Reporting Services did not get any responses so I thought I'd try
here.
Thanks in advance,
Greg Allan
rs.exe from the SQL Reporting Services.
I create a new Process() with a Try and Catch but I would like to get the
errors returned by rs.exe as well as the new process I create in C#.
If I run this and intentionally leave out any parameters for rs.exe, the
whole process runs in a blink of an eye with no warnings or errors but of
course nothing has been deployed.
My code:
p = new Process();
p.StartInfo.FileName = "rs.exe";
p.StartInfo.Arguments = "";//"rs -i PublishReports.rss -s
http://localhost/reportserver";
try
{
p.Start();
}
catch(Exception ex) {MessageBox.Show(ex.Message);}
My post in Reporting Services did not get any responses so I thought I'd try
here.
Thanks in advance,
Greg Allan