The type System.Web.UI.WebControls.TextBox in Assembly System.Web...error

  • Thread starter Thread starter Matt
  • Start date Start date
M

Matt

I've been getting this error every since I installed InstallSqlState
to handle my viewState Sessions. it only happens on 1 section of my
asp.net application...any thoughts

The type System.Web.UI.WebControls.TextBox in Assembly System.Web,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
is not marked as serializable.
 
Looks like you are trying to store a textbox in session state. There is no
way to do that if you are using sql server to maintain session, as there is
no way to serialize a reference to a textbox.
 
Back
Top