English 中文(简体)
如何最佳和快速地在网上排除序列化例外情况。
原标题:What is the best and quick way to debug serialization exceptions in asp.net

帝国主义例外是臭名昭著的,而且往往有完全的痕迹,足以说明哪类复杂物是主。 我试图把非常复杂的类型编成序号,但面临以下例外情况。 任何人都能够告诉我,他们能够迅速获得专制。 我尝试对怀疑的类型进行[飞行]。 但这是一个非常艰难的过程。

Unable to serialize the session state. In StateServer and SQLServer mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in Custom mode.

问题回答

AFAIK, 无。 不能因为《刑法》在动态产生的集会上生活而gged。

然而,检查 st痕和内例通常提供足够信息,以找到罪犯。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签