Ask a Question related to ASP.NET Web Services, Design and Development.
-
Skeptical #1
System.Net.WebException: The request failed with the error message:Object moved to here
Greetings,
This question is related to Microsoft Reporting Services Web service. I
tried asking it in RS groups but no one seems to be knowledgeable enough to
answer, so I wanted to try my chances here. Thanks...
I am trying to get the code below to work with no success, I googled the
issue but docs popped up provided little help. Basically I am trying to
create a directory in RS that uses Forms authentication. Everything works on
the Forms authentication side, but it looks like the cookie created using
the web service somehow does not satisfy RS and it tries to redirect to the
logon page.
Could you point me with a document or just provide me with a working sample?
I already tried Teo Lachev's example with no luck.
Thanks,
Skep...
PS: Both web application and the RS are on the same server.
ReportingService rs = new ReportingService();
ReportServerProxy server = new ReportServerProxy();
// Get the server URL from the Report Manager configuration file
server.Url = AuthenticationUtilities.GetWebServiceUrl();
bool passwordVerified = false;
try
{
server.LogonUser("user","password", null);
passwordVerified = true;
}
catch(System.Web.Services.Protocols.SoapException)
{
Message.Text = "Login Error, please try again";
return;
}
// Create a custom property for the folder.
Property newProp = new Property();
newProp.Name = "Department";
newProp.Value = "Finance";
Property[] props = new Property[1];
props[0] = newProp;
string folderName = "Budget";
try
{
rs.CreateFolder(folderName, "/", props );
Label2.Text="Folder created: "+ folderName;
}
catch(Exception ex)
{
Message.Text=ex.ToString();
}
Skeptical Guest
-
System.Net.WebException: The request failed with the error message: Object Moved
We have a web service that we built with VB.NET and had been working for about 5 months or so, that is until last month. We use this web service... -
system.net.webexception The underlying connection was closed: An unexpected error occurred on a send.
Let me begin by saying that per Q821156, I have updated my web server/development machine with .NET Framework 1.1 SP1. I don't know if I still... -
System.Net.WebException Request Entity Too Large (not running IIS)
When my .NET program makes a Web Service call I get this response... System.Net.WebException: The request failed with HTTP status 413: Request... -
System.Security.SecurityException: Request failed.
Could you paste the code that's in Page_load? -- Abdellah Elamiri ..net Developer Efficacy through simplicity "Luke Sanderlin"... -
Object has been moved error
I've not come across a more frustrating or open ended error than this... I'm simply doing a log-in behaviour in dwMX (which I've done loads of...



Reply With Quote

