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

System.FormatException when using Entity Framework Core cosmos database provider in .Net Core 3.0 (Docker) #18363

Closed
Rishanthakumar opened this issue Oct 14, 2019 · 2 comments

Comments

@Rishanthakumar
Copy link

I am using EF Core Cosmos database provider in .Net Core to build a simple CRUD application with the support of local cosmos database emulator.
When I run this application locally with IIS Express it works without any issues. But when I try to run it in a docker container with visual studio 2019. I get a System format exception as below.

image

Steps to reproduce

You can find my sample project in the following repository: https://github.com/Rishanthakumar/kubetask-api.git

Further technical details

EF Core version: 3.0
Database provider: Microsoft.EntityFrameworkCore.Cosmos
Target framework: .NET Core 3.0
Operating system:
IDE: Visual Studio 2019 16.3

@Rishanthakumar Rishanthakumar changed the title System.FormatException When using Entity Framework Core cosmos database provider with .Net Core 3.0 in Docker System.FormatException when using Entity Framework Core cosmos database provider in .Net Core 3.0 (Docker) Oct 14, 2019
@smitpatel
Copy link
Contributor

3.3.0 package of Azure.Cosmos had cross plat issue. We also hit it here #18315 (comment)

According to the maintainer of the package hotfix has been released in 3.3.1. Update your package version to get the fix.

@Rishanthakumar
Copy link
Author

Thank you @smitpatel 👍

@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 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