.Net Remoting 排错笔记:The constructor to deserialize an object of type 'xxx.xxxx.xxxxx' was not found.
2007-12-12 08:37
1826 查看
错误提示:
The constructor to deserialize an object of type 'xxx.xxxx.xxxxx' was not found.
场景:
服务程序使用从 ApplicationException 继承的自定义异常。
解决措施:
添加如下构造函数的重载即可。
protected xxxxx(SerializationInfo info, StreamingContext context)
: base(info, context)
{ }
The constructor to deserialize an object of type 'xxx.xxxx.xxxxx' was not found.
场景:
服务程序使用从 ApplicationException 继承的自定义异常。
解决措施:
添加如下构造函数的重载即可。
protected xxxxx(SerializationInfo info, StreamingContext context)
: base(info, context)
{ }
相关文章推荐
- Deserialization Problems ... The constructor to deserialize an object of type ... was not found
- xxxx.accessor: The reference to 'xxxx' was not found in the list of this projects references
- Interface builder was unable to determine the type of xxx.xib
- 【明哥报错簿】之【 "javax.servlet.http.HttpServlet" was not found on the Java Build Path || HttpServletRequest/HttpServletResponse cannot be resolved to a type】
- NET:Error Creating Control -"Object Reference Not Set To An Instance Of Object"
- 解决asp.net error: Operation is not valid due to the current state of the object
- 错误 the type "xxxx" is defined in an assembly that is not refernced.You must add a reference to assem
- mybatis Field xxxMapper in xxxx required a bean of type 'XXXMapper' that could not be found.
- Interface builder was unable to determine the type of xxx.xib
- The "." operator was supplied with an index value of type "java.lang.String" to be applied to a List
- Interface builder was unable to determine the type of xxx.xib
- Visual Studio 2015打开ASP.NET MVC的View提示"Object reference not set to an instance of an object"错误的解决方案
- Field XXX in XXXX required a bean of type XXXX that could not be found.
- ASP.NET4.0错误:Operation is not valid due to the current state of the object
- iOS Interface builder was unable to determine the type of xxx.xib
- xxxx.accessor: The reference to 'xxxx' was not found in the list of this projects references
- iOS Interface builder was unable to determine the type of xxx.xib / xxx.storyboard
- An SDK corresponding to WDK version '8.1' was not found. Please install the SDK before building.
- Server was unable to process request. ---> Object reference not set to an instance of an object解决
- ASP.NET MVC Html.TextBox 报 Object reference not set to an instance of an object 的解决方案