Hello,
We recently migrated to .NET 4.0 from 3.5 along with Hybrid Nature(WebForms and MVC 4), IIS 7. Everything was great in the development environment until we deployed it in the QA, we were seeing AppPool was getting recycled automatically if we do larger searches on our website and due to this our cache objects were gone and started getting "Object reference not set to an instance of an Object". After the initial investigation, we found out that it's not something in the code but the AppPool was getting recycled.
The WebSite is Deployed on
Windows 2008 R2
IIS 7 (Configurations) AppPool
Managed Pipeline Mode -> Classi
Enable 32bit Application -> True
Idle Time out = 0
Private Memory Limit = 0
Regular interval time = 0
Request Limit = 0
Virtual Memory Limit = 0
Specific times = Every Morning at 4:00
I tried adding some configurations on my web config
<cache privateBytesLimit="950000000" privateBytesPollTime="00:00:30" disableMemoryCollection = "false" disableExpiration = "true" />
<httpRuntime maxRequestLength="1000000" relaxedUrlToFileSystemMapping="true" requestValidationMode="2.0" minFreeThreads="88" minLocalRequestFreeThreads="76" />
Nothing seems to work,
Any Help is Appreciate, this is driving me crazy