Skip to content

Microsoft.DotNet.Interactive.SqlServer/1.0.0-beta.25177.1 is broken for my notebooks, had to roll back. --kernel-name issues. #3956

Open
@Gryhyphen

Description

@Gryhyphen

Describe the bug

Having the same problem as this ticket, which was closed, but had no resolution:

#3880

using a cell with

#!connect mssql --kernel-name REDACTED "Persist Security Info=False; User ID=REDACTED; Password=REDACTED; Initial Catalog=REDACTED; Server=REDACTED; TrustServerCertificate=True;"

Get the following error

Image

error DNI103: Unrecognized parameter name '--kernel-name'

Was working previously, like a few months ago, but recently I opened up the notebook from the untouched git repository (fresh pull) to run the query again and all my notebooks are broken due to this bug. Very frustrating. Was last working around September 4th, 2024 11:26 AM, according to my git history. So some change in between then and now broke it.

It's an .ipynb notebook, just using the .NET interactive kernel.

Further information:

Rolling back to this version #r "nuget:Microsoft.DotNet.Interactive.SqlServer,1.0.0-beta.24563.1" seems to allow it to work again.

previously was getting the latest (which is broken) https://www.nuget.org/packages/Microsoft.DotNet.Interactive.SqlServer/1.0.0-beta.25177.1

Image

please advise on the breaking change here, if it will be fixed, or if this is a matter of it being depreciated/not documented what the expected behaviour should be in the latest versions. Would also be nice if the tool itself gave a warning that it was depreciating the --kernal-name param rather then just breaking.

Please complete the following:

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

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

Screenshots

If applicable, please add screenshots of the entire VS Code window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions