Server Error in '/li请高手指点st' Application.
--------------------------------------------------------------------------------Cannot serialize interface System.Collections.Generic.IList`1[[School.Model.UserInfo, School.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].
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. Exception Details: System.NotSupportedException: Cannot serialize interface System.Collections.Generic.IList`1[[School.Model.UserInfo, School.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
我写的其他的方法都通过,就是含有list的发布就报错。请高手指点。
--------------------------------------------------------------------------------Cannot serialize interface System.Collections.Generic.IList`1[[School.Model.UserInfo, School.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].
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. Exception Details: System.NotSupportedException: Cannot serialize interface System.Collections.Generic.IList`1[[School.Model.UserInfo, School.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
我写的其他的方法都通过,就是含有list的发布就报错。请高手指点。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货