Exception Details: System.Net.WebException: The re
Hi all,
I am trying to integrate SSRS to work in an application. I have followed the example in the Professional SQL Server 2005 Reporting Services book; however I am getting the error below. Any help would be greatly appreciated.
--------------------------------------------------------------------
Exception Details: System.Net.WebException: The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/ReportServer/logon.aspx?ReturnUrl=%2fReportServer%2fReportServi ce.asmx">here</a>.</h2>
</body></html>
--.
Source Error:
Line 1704: [return: System.Xml.Serialization.XmlElementAttribute("Resu lt", DataType="base64Binary")]
Line 1705: public byte[] Render(string Report, string Format, string HistoryID, string DeviceInfo, ParameterValue[] Parameters, DataSourceCredentials[] Credentials, string ShowHideToggle, out string Encoding, out string MimeType, out ParameterValue[] ParametersUsed, out Warning[] Warnings, out string[] StreamIds) {
Line 1706: object[] results = this.Invoke("Render", new object[] {
Line 1707: Report,
Line 1708: Format,
Source File: c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Tempor ary ASP.NET Files\bet_07_dev2\cb132ca2\486b0628\App_WebReferen ces.ax1t-rhs.0.cs Line: 1706
Stack Trace:
[WebException: The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/ReportServer/logon.aspx?ReturnUrl=%2fReportServer%2fReportServi ce.asmx">here</a>.</h2>
</body></html>
--.]
System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +533199
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters) +204
swann.ReportingService.Render(String Report, String Format, String HistoryID, String DeviceInfo, ParameterValue[] Parameters, DataSourceCredentials[] Credentials, String ShowHideToggle, String& Encoding, String& MimeType, ParameterValue[]& ParametersUsed, Warning[]& Warnings, String[]& StreamIds) in c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Tempor ary ASP.NET Files\bet_07_dev2\cb132ca2\486b0628\App_WebReferen ces.ax1t-rhs.0.cs:1706
render2.Page_Load(Object sender, EventArgs e) in d:\BET_07_dev2\render2.aspx.cs:36
System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Thanks for you help!
|