Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...The AppDomain shut down because of the hosting environment. - Not new, but...The AppDomain shut down because of the hosting environment. - Not new, but...
Previous
 
Next
New Post
7/21/2009 3:27 PM
 

 

I've read lots of post about the app being shut down every minute (like on ALL my sites hosted by IXWebHosting).  Many didn't have a solution, or were told that it was harmless, and just ignore it.

However, I lose session data everytime they recycle the app.  Am I coding something up wrong?  Is there a better solution than session variables?

Support at IX told me to set <sesionState mode="Server State" ...> in the web.config, which I did - but with no difference.

This is more than a nuisance, since it causes lots of exceptions when my session data just suddenly goes blank.

Paul
Sole Supports, Inc.

 
New Post
7/22/2009 11:19 AM
 

There are a number of reasons the app might recycle, but recycling every minute means only one thing -- Your host is overselling its capacity.  Time to move the site(s)...

Jeff

 
New Post
7/23/2009 8:10 AM
 

Thanks...I was afraid of that.  Just wanted to make sure I wasn't doing something stupid.

 
New Post
7/24/2009 9:25 AM
 

Keep in mind that moving the site doesn't have to mean changing hosts.  It may be your host has a less active server that this can be moved to.

Jeff

 
New Post
7/26/2009 10:28 AM
 

Even after getting rid of any Session variables, I was still having disappearing data, so I did some more digging.  Apparently recycling is not the only problem (although once a minute does cause the Scheduler lots of heartache).  On all page updates, the _view_state is empty.  To see if I could duplicate this, I turned off view_state in IIS Manager.  Even with view_state set to False, I get SOMETHING:

<div>
<input type="hidden" name="__EVENT_TARGET" id="__EVENT_TARGET" value="" />
<input type="hidden" name="__EVENT_ARGUMENT" id="__EVENT_ARGUMENT" value="" />
<input type="hidden" name="__view_state" id="__view_state" value="P96ato6lJEPlEDOUnUbt5b3f+3pxdtX0iPL7qMfMHehTaxEtaUfRVSqAyVL0zFrNcK6wltYIyiSPBKd1pqiYQYdBFqRN4w/H2B0YvAHBHfOZeV9JEldbC+xnuMM6TZTsM2dIu8WfzkwQiUF0xnnMAZcbZZHIb9RUUSv7QqlphgfsU9bp5YBBtqbphvlqThXPvcpsss19mnreHOuOTeprmS7rKV9CbxMPkFcRi6mlglPggf7M5T0DUf8pzw6xAQf2nMsQwZNrZsGazQNKh5f6oHueCili/YTmNZx2UQ66ufkYxH7xADW8XXKjHWVd/9EpGpwC5NPSm91z5eKJlGFcyLbd93v7ThiCfraBtLLGMfAYgsk2p9XYK8TgPDWvF/946xdDYcWMLvzw8rLs3RXStwUxluwIbaxDJ+P+WPMBRqry6/jW00GBEOmD0ubHG7+aO1hSjT/vaCnl1LsS3pgAKUw5rLhot/p/kAepbMv5oizJdANg18vHYUJsCqZAbaIlc6uQxgSs3hU4GIAG4jTZbM0/knmfkOH8Y3r6VC5mhjsBKtjXbeJsy1LCmD+IhI3DA72DuLhlky4BTsYxduQVrgGl+hTYhjZ4rfCCIrBQQPo=" />
</div>

But when I get a page from my host, I ALWAYS get this:

<div>
<input type="hidden" name="__EVENT_TARGET" id="__EVENT_TARGET" value="" />
<input type="hidden" name="__EVENT_ARGUMENT" id="__EVENT_ARGUMENT" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
<input type="hidden" name="__view_state_CACHEKEY" id="__view_state_CACHEKEY" value="VS_5sjxwfesvgzpru2meebp1f55_633841950438252352" />
<input type="hidden" name="__view_state" id="
__view_state" value="" />
</div>

So it LOOKS like the view_state is being cached on their server - but the cache is getting wiped as well.  But I thought the ability to cache view_state was in MY hands, through web.config and DNN core code?  Guess I'm not as smart as I thought.  Of course, now this probably doesn't fit in this group anymore, but I'd love any insight into what's going on here.

 

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...The AppDomain shut down because of the hosting environment. - Not new, but...The AppDomain shut down because of the hosting environment. - Not new, but...


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out