Could not find an implementation for interface Orleans.Storage.IMemoryStorageGrain · Issue #9509 · dotnet/orleans · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m spiking a streams implementation and running locally with localhost clustering on 9.1.2. I’m unable to get MemoryGrainStorage running and feel like I must be missing something obvious. If I configure DynamoDbGrainStorage instead it all works.
My full silo config is (copied from the Streams docs)
fail: Orleans.Storage.MemoryGrainStorage[102202]
Error from storage provider MemoryGrainStorage.PubSubRendezvousGrain during ReadStateAsync for grain pubsubrendezvous/StreamProvider/Test/55f77aafc9dd4cf78cc807a3347f28c7(null)
System.ArgumentException: Could not find an implementation for interface Orleans.Storage.IMemoryStorageGrain
at Orleans.GrainInterfaceTypeToGrainTypeResolver.GetGrainType(GrainInterfaceType interfaceType) in /_/src/Orleans.Core/Core/GrainInterfaceTypeToGrainTypeResolver.cs:line 102
at Orleans.GrainFactory.GetGrain(Type interfaceType, IdSpan grainKey, String grainClassNamePrefix) in /_/src/Orleans.Core/Core/GrainFactory.cs:line 215
at Orleans.GrainFactory.GetGrain[TGrainInterface](Int64 primaryKey, String grainClassNamePrefix) in /_/src/Orleans.Core/Core/GrainFactory.cs:line 51
at Orleans.Storage.MemoryGrainStorage.<>c__DisplayClass4_1.<.ctor>b__0() in /_/src/Orleans.Persistence.Memory/Storage/MemoryStorage.cs:line 57
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy`1.CreateValue()
at Orleans.Storage.MemoryGrainStorage.GetStorageGrain(String id) in /_/src/Orleans.Persistence.Memory/Storage/MemoryStorage.cs:line 124
at Orleans.Storage.MemoryGrainStorage.ReadStateAsync[T](String grainType, GrainId grainId, IGrainState`1 grainState) in /_/src/Orleans.Persistence.Memory/Storage/MemoryStorage.cs:line 68
at Orleans.Core.StateStorageBridge`1.ReadStateAsync() in /_/src/Orleans.Runtime/Storage/StateStorageBridge.cs:line 85
This seems very odd as the call is coming from the same assembly that contains the implementation, I’m unsure why it can’t find it. I’ve attempted to use MemoryGrainStorage for a custom grain and get the same issue, I don’t think this is specific to streams.
There was a very old issue #4084 that seems similar but it doesn’t look like application parts are still a concept in the current version.
(dotnet sdk 9.0.300 (arm64), macOS 15.4.1)
The text was updated successfully, but these errors were encountered:
samritchie
changed the title
Could not find an implementation for interface Orleans.Storage.IMemoryStorageGrain
Could not find an implementation for interface Orleans.Storage.IMemoryStorageGrain
May 20, 2025
Uh oh!
There was an error while loading. Please reload this page.
I’m spiking a streams implementation and running locally with localhost clustering on 9.1.2. I’m unable to get
MemoryGrainStorage
running and feel like I must be missing something obvious. If I configureDynamoDbGrainStorage
instead it all works.My full silo config is (copied from the Streams docs)
Console error on an attempted subscription is:
This seems very odd as the call is coming from the same assembly that contains the implementation, I’m unsure why it can’t find it. I’ve attempted to use
MemoryGrainStorage
for a custom grain and get the same issue, I don’t think this is specific to streams.There was a very old issue #4084 that seems similar but it doesn’t look like application parts are still a concept in the current version.
(dotnet sdk 9.0.300 (arm64), macOS 15.4.1)
The text was updated successfully, but these errors were encountered: