.Net Remoting, Serialization and Reflection problem with change v1.0.3705 to v1.1.4322

.Net Remoting, Serialization and Reflection problem with change v1.0.3705 to v1.1.4322

Post by TWV0eHRsa » Sat, 15 May 2004 06:56:05


Hi,

I have an applicaction that user .Net Remoting, Serialization and Reflection. I have been using v1.0.3705 and
the application works fine but I have upgrade my .net framework to v1.1.4322, and now I receive this exception

An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dl

Additional information: Object type cannot be converted to target type

Unhandled Exception: System.ArgumentException: Object type cannot be converted to target type

Server stack trace:
at System.Reflection.RuntimeFieldInfo.InternalSetValue(Object obj, Object val, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean requiresAccessCheck, Boolean isBinderDefault
at System.Runtime.Serialization.SerializationFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean requiresAccessCheck, Boolean isBinderDefault
at System.Runtime.Serialization.FormatterServices.SerializationSetValue(MemberInfo fi, Object target, Object value
at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder holder, Boolean bObjectFullyComplete

If I change to the v1.0.3705 the application works fine. I changed only the .net framework version

Some body can help me

Regards..
 
 
 

.Net Remoting, Serialization and Reflection problem with change v1.0.3705 to v1.1.4322

Post by Sunn » Mon, 17 May 2004 00:18:06

Hi,
check this article:

http://www.yqcomputer.com/

Sunny



System.Runtime.Serialization.SerializationFieldInfo.InternalSetValue(Object
System.Runtime.Serialization.FormatterServices.SerializationSetValue(MemberInfo