'The HTTP redirect request failed.' when attempting to open the Web project

  • Thread starter Thread starter Maryam
  • Start date Start date
M

Maryam

Hi

I recently upgraded from VS.NET 2002 to 2003 (framework 1.0 to 1.1).
When i tried to open my solution in .NET 2003 i got the following
error:

The Web Server reported the following error when attempting to create
or open the Web project located at the following URL:
'http://localhost/dain_v1'.
'The HTTP redirect request failed.'

((((I have noticed that if i delete the project .pdb and the .dll file
and then try to open up the solution it works, however i then have to
build the solution and reset the start project and start page again
before running it. This process is repeated everytime i open the
solution, surely there must be an easier way. )))))

Can anyone help??


Any help would be appreciated.
Thanks
M
 
I did a seach on the net and think that this should work. Please give it a
try.

Add belows code to the global.asax.
protected void Application_BeginRequest(object sender, EventArgs e)
{
string ver = Request.ServerVariables["URL"].ToString();
if(ver.IndexOf("get_aspx_ver.aspx") >= 0)
Response.End
}
 
Back
Top