Orleans host fails when loading the state from store

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

When the state is loaded from persistence store, following exception might be thrown:

Exc level 0: System.TypeAccessException: Named type "OrleansXO.Grains.GrainNameGrainState" is invalid: Type string "OrleansXO.Grains.GrainNameGrainState" cannot be resolved.
at Orleans.Serialization.BinaryTokenStreamReader.ReadSpecifiedTypeHeader()
at Orleans.Serialization.SerializationManager.DeserializeInner(Type expected, BinaryTokenStreamReader stream)
at Orleans.Serialization.BuiltInTypes.DeserializeOrleansResponse(Type expected, BinaryTokenStreamReader stream)
at Orleans.Serialization.SerializationManager.DeserializeInner(Type expected, BinaryTokenStreamReader stream)
at Orleans.Serialization.SerializationManager.Deserialize(Type t, BinaryTokenStreamReader stream)
at Orleans.Serialization.SerializationManager.Deserialize(BinaryTokenStreamReader stream)
at Orleans.Message.get_BodyObject()

This exception is thrown if the type which defines the state is changed in comparison to serialized instance in the store.


Posted Jul 01 2014, 09:25 AM by Damir Dobric
developers.de is a .Net Community Blog powered by daenet GmbH.