Feb 04, 2009 03:41 PM|Evan Freeman|LINK
Well here is a blast from teh past my old friend 0xc0000005. GOd how I miss this error from the old days of COM and Unmanaged C++, I can tell you what the error means, may help. Basically it says you tried to write something really
big to a place that was really small. In terms of memory.
Used to see it alot with malloc and string manipulation in C++ you wouldn't allocate a memory buffer that was big enough and then try to stick something larger than you could fit into it.
Anyhow remenising. I don't know that 250k is to large for viewstate or not, I avoid viewstate like the plague. But I will say it probably isn't a good idea to use viewstate to hold large collections of object. Because that gets
put into the page, bad idea. If you want to cache your objects and save teh database hit try the Http Cache probably a better solution.
In a nutshell your error would most definitely point to something nasty going on in code.