Service Fabric Error in Azure during deployment

蹲街弑〆低调 提交于 2021-02-05 05:16:41

问题


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)).


回答1:


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/



来源:https://stackoverflow.com/questions/50006846/service-fabric-error-in-azure-during-deployment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!