?
Solved

IIS random(?) application shutdown

Posted on 2011-10-05
4
Medium Priority
?
514 Views
Last Modified: 2012-06-27
I trap the Application close event in Global.asax, and it reports that it keeps being closed with
ApplicationShutdownReason.HostingEnvironment (which I understand to be normal "idle" practice) or BinDirChangeOrDirectoryRename
Needless to say, I don't change the bin directory.
Both of these happen whens sessions are active and so the application and session variables are reset, with the effect that active users crash.

This happens randomly 10 times a day or more

Do you have any idea why this is happening, or can you suggest how I might diagnose the problem?

 have looked at the machine Application and Windows event logs but I can't see anything happening at the same timeI
0
Comment
Question by:PhotoCompManager
  • 2
  • 2
4 Comments
 
LVL 41

Expert Comment

by:graye
ID: 36917285
I'd be looking at the size and configuration of the "application pool"

You didn't mention which version of IIS you're using so I can't give you an exact link to look at.  However, you should be able to google it with something like this:

"IIS 7 application pool"
0
 

Author Comment

by:PhotoCompManager
ID: 36937070
I've checked the app pool - it is unlimited and there's > 1GB of main memory available
0
 
LVL 41

Accepted Solution

by:
graye earned 1500 total points
ID: 36938800
OK, then check the event logs for things related to IIS and the App Pool (I'm still thinking it's related to the App Pool)

Whenever you post changes to your web site and the contents of the bin directory change, you'll get that shutdown (and restart) event.
0
 

Author Closing Comment

by:PhotoCompManager
ID: 37041426
Now working with Micorsoft support on this
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Integration Management Part 2
Suggested Courses

839 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