-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Getting System.InvalidCastException after updating SDK to 7.1.1951 and Runtime to 10.1.1951 #1495
Comments
This usually occurs when the SF nuget packages are way too old, or ahead of the installed sdk / runtime version. |
@tuhland I mentioned the versions used, they are the current ones |
Yes I know. What I meant is, that this error usually occurs when the nuget packages your application uses differ too much from the installed cluster version. Updating the nuget packages and not the cluster runtime (either local or in the cloud) is a sure fire way to get this error. We run into this frequently when we update the nuget packages and some of the devs did not update their local development cluster to the latest version Which most if them don't do, because it's a tedious manual process. So make sure you not only updated the packages to the latest version, but also downloaded and installed the SDK / Runtime from here: If you did both, this might be a different issue. |
@tuhland SDK and runtime versions are 7.1.1951 to 10.1.1951 respectively |
We had same exception when connecting from Octopus server and for us worked when we upgraded to ServiceFabric SDK.7.1.2493 |
Getting this exception after updating the SDK and runtime to versions 7.1.1951 to 10.1.1951 respectively
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'IFabricServiceManagementClient8'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{27309DB9-61A7-AE11-967A-BBFF7D5A5460}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
part of the stack trace
The code invoking this was not changed
The text was updated successfully, but these errors were encountered: