I'm using Linux, so I don't have access to ABP Studio yet.
I've upgraded my modules to ABP 9.2.0, and now I'm encountering the following error. I noticed that ABP 9.2.0 upgrades the MongoDB driver to v3.x, which changes the default GUID serialization behavior.
I already followed the official MongoDB documentation on GUID serialization: https://www.mongodb.com/docs/drivers/csharp/current/fundamentals/serialization/guid-serialization/#std-label-csharp-guids
However, that didn’t resolve the issue.
Has anyone else run into this? Any advice or guidance would be greatly appreciated!
Logo trace:
Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module C4ll.Me.MeModule, C4ll.Me, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: One or more errors occurred. (An error occurred while deserializing the Id property of class Volo.Abp.Domain.Entities.Entity1[[System.Guid, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]: Expected BsonBinarySubType to be UuidStandard, but it is UuidLegacy.). See the inner exception for details. ---> System.AggregateException: One or more errors occurred. (An error occurred while deserializing the Id property of class Volo.Abp.Domain.Entities.Entity
1[[System.Guid, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]: Expected BsonBinarySubType to be UuidStandard, but it is UuidLegacy.)
---> System.FormatException: An error occurred while deserializing the Id property of class Volo.Abp.Domain.Entities.Entity`1[[System.Guid, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]: Expected BsonBinarySubType to be UuidStandard, but it is UuidLegacy.
---> System.FormatException: Expected BsonBinarySubType to be UuidStandard, but it is UuidLegacy.
at MongoDB.Bson.IO.BsonReader.ReadGuid(GuidRepresentation guidRepresentation)