Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Service Fabric Error in Azure during deployment

Tags:

Having issues when deploying my cluster to Azure. Everything works locally but when deploying to Azure I get an error when trying to call one of the services.

In Azure the service fabric is 6.1.480.9494, and it cannot be upgraded. But my local version is 6.2.262.9494 that was released 6 days ago.

Am I getting this error due to the different versions?

Unable to cast COM object of type 'System.__ComObject' to interface type 'IFabricTestManagementClient4'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{B96AA7D4-ACC0-4814-89DC-561B0CBB6028}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

like image 531
Jonas K Avatar asked Apr 24 '18 16:04

Jonas K


People also ask

Is Azure service Fabric deals with infrastructure problems?

Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices and containers. Service Fabric also addresses the significant challenges in developing and managing cloud native applications.


1 Answers

A failing QueryInterface call is usually because of using a newer SDK on top of older runtime. However, using 6.2 runtime locally, for .net you can keep referencing the corresponding NuGet pakages (3.0), they are compatible with the 6.1 runtime. We keep backward compatibility between SDK libraries and runtimes.

6.2 roll-out in Azure has been delayed due to a recall class bug: https://blogs.msdn.microsoft.com/azureservicefabric/2018/04/25/update-on-the-service-fabric-6-2-release-roll-out/

like image 182
Mikkel Mørk Hegnhøj Avatar answered Sep 20 '22 03:09

Mikkel Mørk Hegnhøj