473,388 Members | 1,499 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

.Net 1.1 to 2.0 Issue?

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.

Nov 1 '06 #1
2 1104
Samata wrote:
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.
Nov 2 '06 #2
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 .
"Samata" <sa**************@gmail.com>
??????:11*********************@h48g2000cwc.googleg roups.com...
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.

Nov 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: George Hester | last post by:
Please take a look at this google artcle: http://groups.google.com/groups?hl=en&lr=&frame=right&th=55d6f4b50f5f9382&seekm=411f370d%241%40olaf.komtel.net#link9 The op was having trouble with...
2
by: Anthony Cuttitta Jr. | last post by:
We have an application that outputs several different graphs from data downloaded from our AS400. The application has worked without (this) issue for several months now, but just recently, the...
2
by: Ben Rush | last post by:
Hello World, Okay, I have spent the day browsing the newsgroups and reading up on article after article concerning ViewState corruption and so forth, and I have a couple questions. We...
5
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant...
13
by: SAL | last post by:
Hello, I'm trying to include a popup in the ItemTemplate of a gridview row. The ItemTemplate for the field contains a textbox and when the user clicks in the textbox I want a popup panel to show...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.