Solved

ASP.Net timeout problem

Posted on 2002-07-18
6
423 Views
Last Modified: 2012-08-14
i have an application that sends out 'marketing email' (but the marketing department insists that it's not spam -- if it looks like a duck and walks like... you got the picture). it's set to send over a thousand email messages during off peak hours, and i'm getting the following error in the application log:


aspnet_wp.exe  (PID: 3016) was recycled because it was suspected to be in a deadlocked state. It did not send any responses for pending requests in the last 180 seconds.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


short question: how do i increase this service's timeout property.

thanks,
0
Comment
Question by:msdixon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 9

Author Comment

by:msdixon
ID: 7163451
p.s. i also tried clicking on the link from the application log, reluctantly sent the information to microsoft, and they didn't have any additional informtaion.
0
 
LVL 23

Expert Comment

by:naveenkohli
ID: 7165249
r u able to send any emails at all or it stops working after N number of emails?
The error you are getting is kicked by ASP.Net framework. It is designed to take care of deadlocks.
0
 
LVL 9

Author Comment

by:msdixon
ID: 7165272
no, it doesn't stop after a certain number of emails... it was about 1400 (100 short of what i wanted to send), and asp thought that the page was not responding. is there any way to tell the framework to wait a little longer that you know of?

thanks
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 20

Accepted Solution

by:
Silvers5 earned 100 total points
ID: 7226121
asp is not the platform for this.. try to do it in a vb.net application.. or at least try to response something each let's say 50 messages and turn off buffering...
0
 

Expert Comment

by:SandmaN
ID: 7917253
I had the same timeout Problem.

My solution is a kind of Heartbeat from the Server to the client so that the connection does not timeout.

1. Make sure the buffering is off:
   Response.Buffer = False
2. For example after 10 e-mails send the following "Heartbeat" to the client:
   Response.Write("")


Because of this code, the connection to the Server does not timeout.
0
 
LVL 9

Author Comment

by:msdixon
ID: 7917890
I didn't realize this question was still open.

I actually ended up writing a windows service that sent x number of email messages every 20 minutes.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question