locked
.net assemblies referenced in mvc 2.0 vs projects RRS feed

  • Question

  • I have an mvc core 2.0 web api project and we are experience an exception trying to get our new web api to work with dlls built using .net 4.5.2. The exception occurs during deserialization, one of my classes throws an exception:

    {System.Runtime.Serialization.SerializationException: Unable to load type System.DelegateSerializationHolder required for deserialization.
       at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder holder, Boolean bObjectFullyComplete)
       at System.Runtime.Serialization.ObjectManager.DoNewlyRegisteredObjectFixups(ObjectHolder holder)
       at System.Runtime.Serialization.ObjectManager.RegisterObject(Object obj, Int64 objectID, SerializationInfo info, Int64 idOfContainingObj, MemberInfo member, Int32[] arrayIndex)
       at System.Runtime.Serialization.Formatters.Binary.ObjectReader.RegisterObject(Object obj, ParseRecord pr, ParseRecord objectPr, Boolean bIsString)
       at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObjectEnd(ParseRecord pr)
       at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Parse(ParseRecord pr)
       at System.Runtime.Serialization.Formatters.Binary.BinaryParser.Run()
       at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(BinaryParser serParser, Boolean fCheck)
       at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, Boolean check)
       at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
       at RITS.InfraServices.BaseSerializable._Deserialize(String FullPath, Object oc, Boolean bReadonly)}

    no idea how to solve or troubleshoot this issue. Any help would be very much appreciated. Thanks.

    Friday, December 29, 2017 5:15 PM

All replies