Skip to content

After upgrading Service Fabric SDK to 3.2 CorrelatingServiceProxyFactory throws MissingMethodException #83

@berndku

Description

@berndku

We have Service Fabric services using SF SDK 3.0 and Service Remoting v1.
They were instrumented with CorrelatingServiceProxyFactory and CorrelatingRemotingMessageHandler and everything worked.

The ServiceProxy was created like this:
return new CorrelatingServiceProxyFactory( _serviceContext, (c) => new clientV1.FabricTransportServiceRemotingClientFactory(transportSettings, c));

After upgrading the service to SF SDK 3.2 we see the following runtime exception:

Message:
Method not found: 'Void Microsoft.ServiceFabric.Services.Remoting.Client.ServiceProxyFactory..ctor(System.Func`2<Microsoft.ServiceFabric.Services.Remoting.V1.IServiceRemotingCallbackClient,Microsoft.ServiceFabric.Services.Remoting.V1.Client.IServiceRemotingClientFactory>, Microsoft.ServiceFabric.Services.Communication.Client.OperationRetrySettings)'.

ExceptionType: System.MissingMethodException

Stack Trace:
at Microsoft.ApplicationInsights.ServiceFabric.Remoting.Activities.CorrelatingServiceProxyFactory..ctor(ServiceContext serviceContext, Func`2 createServiceRemotingClientFactory, OperationRetrySettings retrySettings)\r\n at …

Is the library supported with SF SDK 3.2 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions