Cannot serialize Object to ViewState only Session
来源:互联网 发布:java词汇大全 编辑:程序博客网 时间:2024/05/19 22:26
http://stackoverflow.com/questions/925553/cannot-serialize-object-to-viewstate-only-session
The reason is that view state serialization is done by the LosFormatter
class while session serialization is done by the BinaryFormatter
class. The two are subtly different and one of these subtle differences is probably causing your problem.
Take a look at this article and the documentation for LosFormatter
to see if you can find some clues about what is causing your problem.
http://msdn.microsoft.com/en-us/library/bb738446.aspx
Because entity types support binary serialization, objects can be saved in the view state of an ASP.NET application during a postback operation. When required, the object and its related objects are retrieved from the view state and attached to an existing object context.
- Cannot serialize Object to ViewState only Session
- Cannot serialize session attribute indexView for session
- vue引入插件Cannot assign to read only property 'exports' of object '#<Object>'
- Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
- vue报错: Cannot assign to read only property 'exports' of object '#<Object>'
- Cannot assign to read only property 'exports' of object '#<Object>' 解决方案
- Cannot assign to read only property 'exports' of object '#<Object>' (mix require and export) #4039
- Tomcat 抛出 Cannot serialize session attribute 异常
- cannot serialize _io.BufferedReader object问题总结反思
- Tomcat 问题: Cannot serialize session attribute XXX for ..的解决办法
- Cannot serialize session attribute--问题的解决(TOMCAT6)
- Cannot serialize session attribute XXX for . 的解决方法
- ViewState Session
- android cannot serialize
- Cannot convert undefined or null to object
- Cannot create a symlink to ...... Read only file system
- Session cannot be resolved to a type
- Use session to transfer oop object
- Android getResources的作用和需要注意点
- Java.nio初步了解和学习
- struts2 标签
- 第九周实验报告一
- 定制属性编辑器
- Cannot serialize Object to ViewState only Session
- js中不让浏览器后退
- mapgis6.7二次开发vc6_demo 之二(主窗体回调函数)
- Solaris中ln命令使用
- 《第九周实验报告四》
- sql 2008请参阅“对象资源管理器详细信息”
- 实验报告 9-5
- Intel推出超极本和平板组合体:外观控大爱
- Weblogic 9.2产品直接下载,及Weblogic 9.2 破解补丁