error in loadreport method.
i consume report server as webservice to display reports in my c#net windows application.
i write the code like below.
ReportExecutionService rs =
new
ReportExecutionService();
rs.UseDefaultCredentials =
false;
rs.Url =
"http://2003Server/newReportServer/ReportExecution2005.asmx";
rs.Credentials =
new System.Net.NetworkCredential("HP01-HP",
"newdesire","2003server");
rs.Timeout = 500000;
ParameterValue[] reportParameters =
new
ParameterValue[1];
reportParameters[0] =
new
ParameterValue();
reportParameters[0].Name =
"Sales_quote_id";
reportParameters[0].Value =
"1";
ExecutionInfo execInfo =
new
ExecutionInfo();
rs.LoadReport(
"/Hollman/CabinetQuoteMaster",
null);
rs.SetExecutionParameters(reportParameters,
null);
at loadreport method i got the below exception why this exception comes
if any one knows please suggest me.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at WindowsApplication1.ReportServer.ReportExecutionService.LoadReport(String Report, String HistoryID) in C:\Users\HP01\Desktop\hema\SSRS Reporting Services\WindowsApplication1\WindowsApplication1\Web References\ReportServer\Reference.cs:line 242
at WindowsApplication1.Form1.button1_Click(Object sender, EventArgs e) in C:\Users\HP01\Desktop\hema\SSRS Reporting Services\WindowsApplication1\WindowsApplication1\Form1.cs:line 37
March 17th, 2011 11:52am
Hi
Move it to SQL Server Reporting Services for better support.
Thanks for your understanding.Cookie Luo[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
March 20th, 2011 8:41am