Monday, July 30, 2012

Sage SalesLogix Error: System.OutofMemoryException

The Sage SalesLogix 7.5.2 Web Client has generally been a very stable CRM platform.  If there is one thing that can/should be done to prevent unexpected issues it is regularly perform an IISReset on the Front End Web Server(s). 

I had not done this for a while and after 27 days of smooth uninterrupted up time we started to get the following error:

The state information is invalid for this page and might be corrupted."
Invalid viewstate.  ..................
Exception of type 'System.OutofMemoryException' was thrown.


Upon looking a the performance of our Front-End Web Server, the w3wp.exe *32 service was consuming 2.9GB of memory, way more than the 300-500MB I am accustomed to seeing. 

After performing an "IISReset /Restart" the associated web application services were restarted which released that large consumption of memory, and our errors were resolved.  (For a more detailed explanation of the IISReset command click here.)

In summary, in the event you see the above error, perform an IISReset.  If you are simply looking for suggestions on how to keep your SalesLogix Web Client running error free, my personal advice is schedule an automated weekly IIS Reset during off-peak hours.

No comments:

Post a Comment