Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 1st, 2006, 12:31 PM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!

 
Old August 3rd, 2006, 06:09 PM
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to achalana
Default


I am also getting the same error, while integrating Reporting Services 2005 in our ASP.NET application.

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%2fReportExecu tion2005.asmx">here</a>.</h2> </body></html> --.


<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/ReportServer/logon.aspx?ReturnUrl=%2freportserver%2fReportExecu tion2005.asmx">here</a>.</h2>
</body></html>

--.
   at Microsoft.SqlServer.ReportingServices2005.Executio n.RSExecutionConnection.GetSecureMethods()
   at Microsoft.SqlServer.ReportingServices2005.Executio n.RSExecutionConnection.IsSecureMethod(String methodname)
   at Microsoft.SqlServer.ReportingServices2005.Executio n.RSExecutionConnection.ValidateConnection()
   at Microsoft.Reporting.WebForms.ServerReport.GetServe rVersion()
   at Microsoft.ReportingServices.UI.ViewReport.Control_ Init(Object sender, EventArgs args)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at System.Web.UI.ControlCollection.Add(Control child)
   at Microsoft.ReportingServices.UI.SharedArea.Control_ Init(Object sender, EventArgs args)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at System.Web.UI.ControlCollection.Add(Control child)
   at Microsoft.ReportingServices.UI.ReportWrapperPage.P age_Init(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnInit(EventArgs e)
   at System.Web.UI.Page.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)">
</HEAD>
<BODY style="margin:0px;" class="msrs-normal" onload=""><form name="ui_form" method="POST" action="Error.aspx"


couldn't figure this out on why it happens, searched various sites, but did n't see proper solution. can somebody help me on this one..



 
Old January 5th, 2007, 11:05 AM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey,

Not sure if you ever figured this out or not but I believe this will solve your issue.

Check out the response I have on the ASP.NET forum. http://forums.asp.net/1519945/ShowThread.aspx#1519945

Cheers,

Kyle Finley
Hitachi Consulting






Similar Threads
Thread Thread Starter Forum Replies Last Post
System out of memory exception cmrhema Visual Studio 2005 0 August 21st, 2007 08:38 AM
System.Net.WebException: The request failed with H deeptisingh20 ASP.NET 1.0 and 1.1 Professional 0 July 19th, 2006 11:18 PM
System.OutOfMemory Exception Ron Howerton ASP.NET 1.0 and 1.1 Professional 7 November 30th, 2005 10:08 AM
how to fix the error : Exception Details: System.D khaink ASP.NET 1.0 and 1.1 Basics 2 October 9th, 2005 12:24 AM
unhandled exception of type 'System.Net.WebExcepti booksnore2 C# 0 June 26th, 2004 07:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.