你的位置:首页 > 软件开发 > ASP.net > Type Insus.NET.PictureObject in Assembly App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null is not marked as serializable.

Type Insus.NET.PictureObject in Assembly App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null is not marked as serializable.

发布时间:2015-09-07 10:00:09
昨晚想实现一个功能,需要把一个对象存储于ViewState中去,但在运行时,出现下面的异常。Type Insus.NET.PictureObject in Assembly App_Code, Version=0.0.0.0, Culture=neutral, Public ...

 昨晚想实现一个功能,需要把一个对象存储于ViewState中去,但在运行时,出现下面的异常。

Type Insus.NET.PictureObject in Assembly App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null is not marked as serializable.

Type 'Insus.NET.PictureObject' in Assembly 'App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.        

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.            

原标题:Type Insus.NET.PictureObject in Assembly App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null is not marked as serializable.

关键词:.NET

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。