部署期间 Azure 中的 Service Fabric 错误
Service Fabric Error in Azure during deployment
将集群部署到 Azure 时出现问题。
一切都在本地运行,但在部署到 Azure 时,我在尝试调用其中一项服务时遇到错误。
在 Azure 中,服务结构是 6.1.480.9494
,无法升级。
但是我的本地版本是6天前发布的6.2.262.9494
我收到这个错误是因为版本不同吗?
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)).
QueryInterface 调用失败通常是因为在较旧的运行时之上使用了较新的 SDK。但是,在本地使用 6.2 运行时,.net 可以继续引用相应的 NuGet pakages (3.0),它们与 6.1 运行时兼容。我们保持 SDK 库和运行时之间的向后兼容性。
6.2 在 Azure 中的推出因召回而延迟 class 错误:https://blogs.msdn.microsoft.com/azureservicefabric/2018/04/25/update-on-the-service-fabric-6-2-release-roll-out/
将集群部署到 Azure 时出现问题。 一切都在本地运行,但在部署到 Azure 时,我在尝试调用其中一项服务时遇到错误。
在 Azure 中,服务结构是 6.1.480.9494
,无法升级。
但是我的本地版本是6天前发布的6.2.262.9494
我收到这个错误是因为版本不同吗?
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)).
QueryInterface 调用失败通常是因为在较旧的运行时之上使用了较新的 SDK。但是,在本地使用 6.2 运行时,.net 可以继续引用相应的 NuGet pakages (3.0),它们与 6.1 运行时兼容。我们保持 SDK 库和运行时之间的向后兼容性。
6.2 在 Azure 中的推出因召回而延迟 class 错误:https://blogs.msdn.microsoft.com/azureservicefabric/2018/04/25/update-on-the-service-fabric-6-2-release-roll-out/