Closed finesse-fingers closed 4 months ago
...and you have a type called SavePatchCrmRecord
in the Vehicle_Quoting.Saga.SaveQuote.Commands
namespace, either in your executable, or in ProjectName.dll residing next to your executable?
The exception happens when Rebus' message serializer can't find the type declared as the message type in the rbs2-msg-type
header.
In this case, it looks like Vehicle_Quoting.Saga.SaveQuote.Commands.SavePatchCrmRecord, ProjectName
cannot be found.
Did you e.g. rename something? Move the type to another namespace? If you did this with messages still in the queue waiting to be processed, then the type lookup could easily fail when you start the consumer again.
Let me know if you need anymore help diagnosing your issue 🙂
We see the following error and what is tripping us up is that it occasionally occurs:
This is our configuration:
And our csproj looks like this:
We've seen this issue raised previously on older .net versions.. But seems like it hasn't gone away. Any thoughts or guidance will be much appreciated. Cheers.