Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7954059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:18:30+00:00 2026-06-04T03:18:30+00:00

On a production environment I have an IIS hosted asp.net application, actually many web

  • 0

On a production environment I have an IIS hosted asp.net application, actually many web applications. Every app consumes a lot of memory but at the moment the only way to limit it is recycle (nHibernate seems to be leaking memory, and it’s creating large amount of string collections). The problem is that after the recycle it keeps loging users out or rather dropping the session ? On local computer I couldn’t recreate the issue. I’ve tryed using state server with no luck, the issue contined, would SQL State saving chane anything or am I just miss leaded or missing something ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T03:18:32+00:00Added an answer on June 4, 2026 at 3:18 am

    The answer was surprising and it was related to view state errors that I logged in my application, I found a proper explanation on one of the MSDN sites, this line in particular :

    regarding machineKey

    “[…] When the application pool is running under a user account, the above keys are not generated leading to an intermittent invalid viewstate error.”

    In conclusion all that had to be done was generating a machine key and recycle is not causing users to re-authenticate anymore.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my production environment I have several Web applications installed in the same machine.
At my company, we have tiered environment for our web applications (development, staging, production).
Our production environment is: IIS 6.0 .Net framework 4.0 ASP.Net 4.0 thread pool However,
I have an ASP.NET web application that calls a .NET DLL, that in turn
I have an ASP.NET web form application that on the server side I need
We have a Java web application running on JBoss and Linux. Production environment database
I have a Web Application hosted in IIS 6 on a Windows Server 2003
I have an IIS website running an ASP.NET site but it has multiple applications
I have a VB6's Application that is in production environment right now, this application
We have Windows Server 2008 as our Production server hosted in RackSpace environment. Following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.