Replies: 1 comment
-
I believe you can access all grain types with TypeManifestOptions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Orleans 3.7, if I recall correctly, would dump the type names of configured application parts (grains) to a log. Is there a way to get that list logged in 7.x? I'm having the following issue in silo clients and a similar issue with use of the dashboard (v7.2.2) in silos. The catch is that Autofac's AutofacServiceProviderFactory is in use and I'm wondering if there is some unexpected interaction going on with code that has been migrated to dotNet 8.0 and Orleans 7.x. The dashboard (v3.6.2) works on dotNet 5.0 and Orleans 3.7. In the dotNet 8.0 implementation, Microsoft.Orleans.Sdk is used.
Client
with System.ArgumentException: Could not find an implementation for interface
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 213
Silo
[17:06:56 ERR] Hosting failed to start
System.ArgumentException: Could not find an implementation for interface OrleansDashboard.IDashboardGrain
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 213
at Orleans.GrainFactory.GetGrain[TGrainInterface](Int64 primaryKey, String grainClassNamePrefix) in /_/src/Orleans.Core/Core/GrainFactory.cs:line 51
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions