473,604 Members | 2,487 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Threadin g.ThreadAbortEx ception, mscorlib.dll, ASP.NET 2.0, Firefox Crashing

Upon clicking on a hyperlink generated in a ASP.NET GridView control,
I am finding Firefox 1.5 to crash. However, when clicking on the same
link, Internet Explorer 6.0 works just fine and is redirected to the
page as expected. I was only able to see this particular error once
but have continued to follow the advice by others when dealing with
any usage of Response.Redire ct:

A first chance exception of type
'System.Threadi ng.ThreadAbortE xception' occurred in mscorlib.dll
For all Response.Redire ct invocations, i have provided a wrapper
method to accept the calling page's HttpResponse and URL, where I
invoke the response's Redirect method with false passed in as the
second parameter. I even have this code wrapped in a try / catch
statement and still having Firefox crashing.

I put a breakpoint on the OnInit and OnLoad methods in both the
hosting page and the page being redirected to and found firefox
crashing before the hosting page's OnInit method is hit.

Note the web application has been up for several months and has now
started to behave this way.
Any advice would be greatly appreciated!

Michael

Feb 27 '07 #1
1 3036
mw*******@gmail .com wrote:
Upon clicking on a hyperlink generated in a ASP.NET GridView control,
I am finding Firefox 1.5 to crash. However, when clicking on the same
link, Internet Explorer 6.0 works just fine and is redirected to the
page as expected. I was only able to see this particular error once
but have continued to follow the advice by others when dealing with
any usage of Response.Redire ct:

A first chance exception of type
'System.Threadi ng.ThreadAbortE xception' occurred in mscorlib.dll

Have you looked at the HTML generated by the GridView control?

Either way, the error message you pasted is a .NET exception. Firefox
is not written in .NET, so if you see that error message it sounds
server side.

--
Sean

website: http://senfo.blogspot.com
Feb 27 '07 #2

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

Similar topics

2
636
by: José Joye | last post by:
When I unload an appdomain I have created, I always get the following exeption: System.Threading.ThreadAbortException: Thread was being aborted. Before calling the Unload() method, I set to null all the references I have to objects in the AppDomain. Any idea?
1
2277
by: Tom | last post by:
I've googled, and read, and stripped out code, and rewritten code, and still can't get a System.Threading.Timer to work. (I hereby publicly admit that I'm a failure here...) Could someone please take a quick look at this and tell me where I'm going wrong? My actual use is more complex, but when I couldn't get that to work I created a new service project and figured to get a simple threading timer going first then I'd revamp my actual code...
0
3180
by: Lee Simpson | last post by:
Interesting problem. We have narrowed it down to the exact cause, and would like an explanation of what's going on behind the scenes. Simple bit of code: OleDbConnection con = new OleDbConnection(@"data source=E:\My Documents\Visual Studio Projects\ThreadErrorTest\bin\Northwind.mdb;provider=Microsoft.Jet.OLEDB.4.0" ); con.Open(); OleDbCommand cmd = new OleDbCommand("Select * from Customers", con);
2
2240
by: Vjay77 | last post by:
In this code: Private Sub downloadBtn_Click(ByVal sender As Object, ByVal e As System.EventArgs) If Not (Me.downloadUrlTextBox.Text = "") Then Me.outputGroupBox.Enabled = True Me.bytesDownloadedTextBox.Text = "" Me.totalBytesTextBox.Text = ""
5
5476
by: Henrik Stidsen | last post by:
I have implemented a log-system for exceptions in an ASP.NET application using the Application_Error event in Global.asax. ThreadAbortExceptions gets thrown everytime Response.Redirect is being used with the second parameter set to true which, according to Microsoft, is by design... How do I get around this ? I would hate to have the log filled with this exception on high-traffic sites. Setting the second parameter to false is not an...
1
2285
by: kowshikj | last post by:
In a ASP.NET 1.1 application, we get this exception at xmlDoc.Load() when loading an XmlDocument. This does not seem to happen every time though. The xml file itself is only 10 KB and we don't use any threads. XmlDocument xmlDoc = new XmlDocument(); try { xmlDoc.Load(strXmlPath); }
2
22965
by: Daniel Knöpfel | last post by:
Hi I am develloping an asp.net 2.0 application. For some tasks (daily notifications to users via email), we use background threads. I rather have this task as background thread of the asp.net application and not as a service as as the installation procedure of a service on the productive system would cause a lot of administrative overhead. The thread is started in the global.asax file on startup. Strangely, after some time, the thread...
1
2030
by: JoeP | last post by:
Hi All, 1) I am using code like the below outside of the Try.. Catch... Endtry and getting this message Within the Immediate Window. An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code What can be done to avoid the above message?
3
5796
by: Waazzzii | last post by:
Here's an interesting one... received the {Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.} exception when attempting a Server.Transfer("Page.aspx"). This came about when i upgraded from VWD 2005 to VWD 2008, but kept the .NET framework 2.0 (instead of moving immediately to 3.5). I have a master page controlling the orderbasket.aspx page, and it is from the orderbasket.aspx page that...
0
7929
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8409
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8065
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8280
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5882
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5441
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3907
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3955
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1526
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.