.Net 1.1 to 2.0 Issue?

S

Samata

Hi,

I have an ASP.Net application developed using framework 1.1. But it
is deployed on a machine which contains framework 2.0.

The application throws error when Respose.Redirect is called.
Following is the error.

"Thread was being aborted.mscorlib at
System.Threading.Thread.AbortInternal() at
System.Threading.Thread.Abort(Object stateInfo) at
System.Web.HttpResponse.End() at
System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at
System.Web.HttpResponse.Redirect(String url) ...."

I did not use the "end response" boolean in Response.redirect method.
This problem never arised on the machines with .net framework 1.1. Why
only with .net framework 2.0?

Please help!!

Regards,
Samata.
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

Samata said:
Hi,

I have an ASP.Net application developed using framework 1.1. But it
is deployed on a machine which contains framework 2.0.

The application throws error when Respose.Redirect is called.
Following is the error.

"Thread was being aborted.mscorlib at
System.Threading.Thread.AbortInternal() at
System.Threading.Thread.Abort(Object stateInfo) at
System.Web.HttpResponse.End() at
System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at
System.Web.HttpResponse.Redirect(String url) ...."

I did not use the "end response" boolean in Response.redirect method.
This problem never arised on the machines with .net framework 1.1. Why
only with .net framework 2.0?

Please help!!

Regards,
Samata.

I don't know why framework 2 does that, but the default behaviour of
Redirect is to end the response. The boolean is used to make it not end
the response.
 
C

Conbine Guard

It is sure some .net 1.1 program can not run under .net 2.0 and the problem
is not easy to slave ,so I suggest that U paste Ur code into Visual Studio
2005 and rebuild it .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top