Skip to content

Polyglot notebook issue with EF #3921

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

Open
2 of 17 tasks
ch15patel opened this issue Apr 19, 2025 · 1 comment
Open
2 of 17 tasks

Polyglot notebook issue with EF #3921

ch15patel opened this issue Apr 19, 2025 · 1 comment
Labels
Area-SQL / data querying bug Something isn't working

Comments

@ch15patel
Copy link

ch15patel commented Apr 19, 2025

Describe the bug

I am using VS Code Polyglot notebook extension with .ipynb notebook to test EF functionality.
This feature used to work before but suddenly stopped. Here is the command that I am using

#!connect mssql --create-dbcontext --kernel-name OracleHR "Server=cpateldev;Database=OracleHR;User Id=sa;Password=!Sa@dmin;Encrypt=yes;Trust Server Certificate=Yes;"

Error that I get is as below

Scaffolding a DbContext and initializing an instance of it called OracleHR in the C# kernel.
Error: Microsoft.Identity.Client version 4.66.2 cannot be added because version 4.66.1 was added previously.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

  • OS
    • Windows 11
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Firefox
    • Safari
  • Frontend
    • Jupyter Notebook
    • Jupyter Lab
    • nteract
    • Visual Studio Code
    • Visual Studio Code Insiders
    • Visual Studio
    • Other (please specify)

Screenshots

If applicable, add screenshots to help explain your problem.

Image

Image

@ch15patel
Copy link
Author

NOTE: OracleHR is just name of the MSSQLServer database hosted in local docker container

@jonsequitur jonsequitur added bug Something isn't working Area-SQL / data querying labels Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-SQL / data querying bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants