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
Complex Queries in Linux App Service: System.InvalidOperationException: Invalid operation. The connection is closed. #22463
Comments
@simader TDS exceptions indicate an issue with the underlying SqlClient provider. Please check if there is an existing issue on https://github.com/dotnet/SqlClient and if not, then file an issue there and attach a small, runnable project or post a small, runnable code listing that reproduces what you are seeing so that they can investigate. |
EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it. BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions. |
Hello Together, Can you please open this issue again. When you add a valid SqlAzure Connection string and run it on a Linux Maschine (I tried build server or Azure App Service) you will get the System.InvalidOperationException: Invalid operation. The connection is closed. I tested a contains with 2000 guids, this is working. Please help. |
@simader Can you post the full stack trace of the exception and any inner exceptions? |
at Microsoft.Data.SqlClient.SqlCommand.<>c.b__164_0(Task |
Tracked by dotnet/SqlClient#792 |
We want to host our backend in future in Linux App Services. Currently we are running the same code in Windows App Services.
However we encountered a problem with a bit more complicated query
Steps to reproduce
this is the SQL Statement:
results in a query
Further technical details
EF Core version: Entity Framework Core 3.1.10
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET Core 3.1
Operating system: Linux AppService
The text was updated successfully, but these errors were encountered: