Tag Archives: service fabric

This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{63EBCF4C-B326-4539-A3CB-B50746D6C323}’ failed

If you’re running a code like this: In a Service Fabric application locally and getting an error: System.InvalidCastException:Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘IInternalFabricClusterManagementClient2’.This operation failed because the QueryInterface call on the COM component for … Continue reading

Posted in Programming | Tagged | Leave a comment

Multiple Placement Group Value of NodeType does not match with the value of VMSS

If you’re getting the following error: Multiple Placement Group Value of NodeType does not match with the value of VMSS while attempting to deploy a VMSS for a Service Fabric cluster to enable multi-AZ (availability zones) in a region that … Continue reading

Posted in Infrastructure | Tagged , , , | Leave a comment

Reliable and scalable infrastructure: Traffic

This is a series of posts: Introduction Principles Layers Traffic (this post) Secrets Now you have multiple environments, each consisting of multiple data centers, each consisting of multiple scale units. How do you wire up them all together to be … Continue reading

Posted in Infrastructure | Tagged , , , | Leave a comment

Reliable and scalable infrastructure: Layers

This is a series of posts: Introduction Principles Layers (this post) Traffic Secrets When designing your service’s infrastructure, you need to remember that your deployment (or scale, more below) unit can go down at any point of time for any … Continue reading

Posted in Infrastructure | Tagged , , | Leave a comment

How to configure Service Fabric to use AAD for client authentication

This blob post is intended to compliment the official doc which I personally don’t find helpful and comprehensive enough. The configuration that works for me consists of 3 parts: Cluster ARM template change AAD app for the cluster identity (let’s … Continue reading

Posted in Infrastructure | Tagged | Leave a comment

How to enable automatic clean up of provisioned application types on a Service Fabric cluster

As time goes by and you deploy applications, a new build every time what means a new application type is getting provisioned. Application packages are piling up and after some time old versions become just a clutter that eats up … Continue reading

Posted in Infrastructure | Tagged , , | Leave a comment

How to use EndpointCertificate with proper ACL for Network Service in Service Fabric

Presentiments: your Service Fabric cluster must be of version 7.1. Since the automatic rollout was postponed, you would need to temporarily switch to the manual mode, select the latest version, and then switch back once the upgrade is complete. To … Continue reading

Posted in Programming | Tagged | Leave a comment

How to split array into string for Service Fabric cluster ARM template

In order to use a certificates for Service Fabric cluster issues by custom, non publicly trusted CA you’d need to supply a list of thumbprints of intermediate CAs. In a form of a comma-separated string. What means if you have … Continue reading

Posted in Infrastructure | Tagged , | Leave a comment

How to find out the latest ARM api version for given resource type

If you’d like to find this out, for instance, for Service Fabric applications, then use this query: which would yield this result: 2017-07-01-preview2016-09-012016-03-01 what means that you now can go to the GitHub repo with all ARM schemas and find … Continue reading

Posted in Infrastructure | Tagged , , | Leave a comment

HeartbeatActorServiceType is invalid and cannot be registered. Only ServiceTypes specified in the ServiceManifest can register.

If you try to register an actor within a Service Fabric service like this: but getting the following exception: System.Fabric.FabricException: ‘Invalid Service Type’ Inner Exception: COMException: Exception from HRESULT: 0x80071C21 then in Event Log (Applications and Services Logs -> Microsoft-Service-Fabric … Continue reading

Posted in Programming | Tagged | Leave a comment