Hi,
I was created a web service which will execute some functions and will do
some database activities related to our project
When i execute this method directly from browser using webservice link it
sometimes throwing "Thread was being aborted" Exception.
If the time taken by the function is less then its giving proper results
else throwing this exception.
There are no redirections inside the code.
My Procedure might take update 1 hour to finish the task.
Please reply ASAP,
With Regards,
Prasad Dannani 3 11172
Hi Prasad,
Yes, I suppose you are getting this error due to execution timeouts. You may
want to increase the execution timeout for the web service by increasing the
executionTimeout value of the httpRuntime element. This element would be
found in machine.config.
--
HTH,
Manoj G
MVP, Visual Developer http://msmvps.com/manoj
"Prasad Dannani" <pr****@pennywise.com> wrote in message
news:OV**************@TK2MSFTNGP15.phx.gbl... Hi,
I was created a web service which will execute some functions and will do some database activities related to our project
When i execute this method directly from browser using webservice link it sometimes throwing "Thread was being aborted" Exception.
If the time taken by the function is less then its giving proper results else throwing this exception.
There are no redirections inside the code.
My Procedure might take update 1 hour to finish the task.
Please reply ASAP,
With Regards, Prasad Dannani
Hi,
Is it possible to specify these setting at application level.
And This error i am getting at different situation like firing the same web
service function through ASP.NET ThreadPool,
when using redirect functions inside try/catch blocks and when firing some
big sql queries
and when connecting to some sites using request and response objects etc.,
With Regards,
Prasad Dannani
"Manoj G [MVP]" <ma***@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl... Hi Prasad,
Yes, I suppose you are getting this error due to execution timeouts. You
may want to increase the execution timeout for the web service by increasing
the executionTimeout value of the httpRuntime element. This element would be found in machine.config.
-- HTH, Manoj G MVP, Visual Developer http://msmvps.com/manoj
"Prasad Dannani" <pr****@pennywise.com> wrote in message news:OV**************@TK2MSFTNGP15.phx.gbl... Hi,
I was created a web service which will execute some functions and will
do some database activities related to our project
When i execute this method directly from browser using webservice link
it sometimes throwing "Thread was being aborted" Exception.
If the time taken by the function is less then its giving proper results else throwing this exception.
There are no redirections inside the code.
My Procedure might take update 1 hour to finish the task.
Please reply ASAP,
With Regards, Prasad Dannani
Yes, definitely, you can do it at the web.config as well.
One more thing - Response.Redirect throws a ThreadAbort exception upon
completion. That is one more reason for the same. Avoid using the same.
--
HTH,
Manoj G
MVP, Visual Developer http://msmvps.com/manoj
"Prasad Dannani" <pr****@pennywise.com> wrote in message
news:ut**************@TK2MSFTNGP14.phx.gbl... Hi,
Is it possible to specify these setting at application level. And This error i am getting at different situation like firing the same web service function through ASP.NET ThreadPool, when using redirect functions inside try/catch blocks and when firing some big sql queries and when connecting to some sites using request and response objects etc.,
With Regards, Prasad Dannani
"Manoj G [MVP]" <ma***@nospam.com> wrote in message news:%2****************@TK2MSFTNGP15.phx.gbl... Hi Prasad,
Yes, I suppose you are getting this error due to execution timeouts. You may want to increase the execution timeout for the web service by increasing the executionTimeout value of the httpRuntime element. This element would be found in machine.config.
-- HTH, Manoj G MVP, Visual Developer http://msmvps.com/manoj
"Prasad Dannani" <pr****@pennywise.com> wrote in message news:OV**************@TK2MSFTNGP15.phx.gbl... > Hi, > > I was created a web service which will execute some functions and will do > some database activities related to our project > > When i execute this method directly from browser using webservice link it > sometimes throwing "Thread was being aborted" Exception. > > If the time taken by the function is less then its giving proper > results > else throwing this exception. > > There are no redirections inside the code. > > My Procedure might take update 1 hour to finish the task. > > > Please reply ASAP, > > With Regards, > Prasad Dannani > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: MichaelR |
last post by:
I'm getting a curious result from a module using WinInet on the client and
IIS 6.0/ASP.NET on the server. Can't really tell if it's a client or a
server issue.
The client module uses...
|
by: Johanna |
last post by:
Hello,
Thread was being aborted exception is thrown by my asp.net
application.
I hope someone could help me with this error that I get in windows
2003 server. This error has not occured with...
|
by: Johanna |
last post by:
Hello,
Thread was being aborted exception is thrown by IIS for my asp.net
application on win2003 server. This error has not yet occured with the same
asp.net application on
windows 2000...
|
by: Keith F. |
last post by:
Hi,
I have an asp.net web app that is intermittently throwing "Thread was being
aborted." errors in my data access component. This seems to occur when the
app is under a heavier than normal load....
|
by: Keith F. |
last post by:
Hi,
I have an asp.net web app that is intermittently throwing "Thread was being
aborted." errors in my data access component. This seems to occur when the
app is under a heavier than normal load....
|
by: hitendra15 |
last post by:
Hi following is the code which sends file to the browser means user can
download file,
but the code generates error message Thread Being Aborted., will any
one put their thoughts
protected void...
|
by: Jimi |
last post by:
Hi all, I have a user control which raises an event to the parent page when
a person clicks on a link in a datagrid.
In the event handler inside the parent page I construct a url to redirect to...
|
by: Totto |
last post by:
Hi,
I'm doing a server.transfer from a click event of a button,
but an exception is raised with "Thread was being aborted"
Anyone know why?
Thanks Tor
|
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...
|
by: jediknight |
last post by:
Having recently been asked to look into some bugs in one of our old
web systems, I keep getting an error message in some try...catch
statements that I've put in.
Error message is
Thread was...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |