Thread was being aborted error message when I use Response.Redirect in ASP.net

K

karunakar

Hi all

I have a page where I am trying to do a Response.Redirect and I get the next
error message: 'Thread was being aborted'

How can I solve this problem?

Thanks in advance
Karunakara Rao.
 
P

Peter Chadwick (MCP)

Hi,

I assume your Response.Redirect is within a 'try' block. If you take it
out of this then you will no longer get the error.

Regards,

Peter Chadwick (MCP)
(e-mail address removed)
 
P

Peter Chadwick (MCP)

Hi,

Sounds like your Response.Redirect statement is within a 'try' block.

If you take this statement out of the 'try' block, you will no longer
get the error.

Regards,

Peter Chadwick (MCP)
(e-mail address removed)
 
P

Peter Chadwick (MCP)

Hi,

Is your Response.Redirect statement with a try/catch block?

If so, take it out of the try/catch block and the error should
disappear...

HTH

Peter Chadwick (MCP)
(e-mail address removed)
 

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