• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2903
  • Last Modified:

Handling 'Event code 3001: The Request has been aborted'

AT the moment, I am relying on customers calling me to report that their database is not accessible. This invariably menas that something has crashed the App Pool and recycling it fixes the issue.

The Application Event Log shows that the user gets 'Event code 3001: The request has been aborted' whenever the App Pool has stopped.

I would like to detect this event and automatically recycle (restart) the App Pool the first time this occurs so that the system 'brings itself back up' whenever this occurs.

I am running IIS7 on a Windows Server 2008 machine.

Can this be done? If so, please help by providing a code example. Thank you.

Anyone??
0
SJRalling
Asked:
SJRalling
1 Solution
 
Yagya ShreeCommented:
You can set a windows sheduled tasks to start a application pool warm up script everytime the server generates event 3001. That should automate the process for you.

link for warm up script

http://gallery.technet.microsoft.com/office/PowerShell-to-Warm-Up-0988dd61

http://gallery.technet.microsoft.com/office/SharePoint-2007-2010-or-d1884b4b
0
 
SJRallingAuthor Commented:
Thank you Yagyashree - I will see if I can get this to do what I need.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now