Question : Getting "Object Moved" error in ASP.NET application

Hi everyone,

I am having a bizarre issue with an ASP.Net site that I am currently developing (in C# - Visual Studio 2008, Framework 3.0).

I generally work with Windows Applications and ASP.Net is still new to me, so forgive me if I've missed something obvious.

What I am trying to do is communicate with a web service that has been deployed on one of our servers. I started by creating a DLL file which dealt with all the necessary web service communications, and after plugging it into a Windows application, I confirmed that it all worked fine (the web service was successfully writing data to the database).

However, once I plugged this DLL into the ASP.Net application, I'm getting the following error when invoking the web service.

The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/Default.aspx">here</a>.</h2>
</body></html>

I've also tried placing the code directly into the code behind file, but still receive the same error message.

I’m not too sure what is so different between the Windows application and the ASP.Net application.

Much appreciate any help.

Answer : Getting "Object Moved" error in ASP.NET application

Random Solutions  
 
programming4us programming4us