Skip to content
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

Add ServiceInterop.dll fallback support for ARM64 #2951

Closed
Krumelur opened this issue Dec 21, 2021 · 1 comment
Closed

Add ServiceInterop.dll fallback support for ARM64 #2951

Krumelur opened this issue Dec 21, 2021 · 1 comment

Comments

@Krumelur
Copy link

Describe the bug
Running any SQL-based queries triggers a type load exception on ARM64 (Win 11 preview)

`An exception of type 'System.DllNotFoundException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'Unable to load DLL 'Microsoft.Azure.Cosmos.ServiceInterop.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)'

To Reproduce
Use Container.GetItemQueryIterator() to execute any QueryDefinition.

Expected behavior
According to docs https://docs.microsoft.com/en-us/azure/cosmos-db/sql/troubleshoot-dot-net-sdk?tabs=diagnostics-v3#common-query-issues a fallback should occur:

For Linux and other unsupported platforms where ServiceInterop.dll isn't available, an additional network call will be made to the gateway to get the optimized query.

With ARM64 being an unsupported platform, a network call should occur instead of an exception.

Actual behavior
Type load exception occurs instead of a lower-performance network call fallback.

Environment summary
SDK Version: 3.23
OS Version: Windows 11 Insider Preview ARM64

@ealsur
Copy link
Member

ealsur commented Jun 7, 2022

Closed by #3226. Released in 3.27.2

@ealsur ealsur closed this as completed Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants