Similar to This Question, I have an application that relies heavily on in-process session. I'm now trying to move the session store to a local State Server.
I'm getting the error:
Type 'System.Web.UI.Control' in Assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable.
The problem is I can't determine which control is trying to be serialized.
The full exception and the stack trace doesn't show me any additional information.
Is there a way to determine what control is trying to be serialized?
Using ASP.net, IIS7, Framework 4.0