You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/FAQ.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -393,6 +393,39 @@ This error indicates that a call to a .NET Interactive formatting API such as `D
393
393
394
394
The error is shown because a formatted value from the .NET Interactive kernel has been formatted using a MIME type that VS Code doesn't know how to render. VS Code can only render notebook outputs in MIME types for which there's an installed [notebook renderer](https://code.visualstudio.com/api/extension-guides/notebook#notebook-renderer). Notebook renderers are independent of the kernel and can be [installed from the Visual Studio Marketplace](https://code.visualstudio.com/api/extension-guides/notebook#notebook-renderer).
395
395
396
+
### `Unrecognized parameter name '--kernel-name'` when using `#!connect mssql`
397
+
398
+
This error occurs when the version of `Microsoft.DotNet.Interactive.SqlServer` doesn't match the version of .NET Interactive you're running. When using a wildcard version specifier like `*-*`, you might load a version that's incompatible with your current Polyglot Notebooks extension.
399
+
400
+
To fix this:
401
+
402
+
1. Run `#!about` in a cell to check your .NET Interactive version.
403
+
404
+
2. Use the **Library version** number (the part before the `+`) to get the matching package version. For example, given this output from `#!about`:
Replace `1.0.0-beta.25177.1` with the Library version number you see in your `#!about` output.
424
+
425
+
**Important:** The `#r nuget` directive and the `#!connect mssql` command must be in separate cells. The notebook validates syntax before running code, but the `#!connect mssql` command is only recognized after the package loads.
426
+
427
+
**Note:** Pre-release versions of Polyglot Notebooks use different package versions than the stable release. Pre-release packages aren't available on nuget.org but can be loaded from the Azure DevOps feed: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
428
+
396
429
### Diagnostic logs
397
430
398
431
You can enable diagnostic logging by editing the Polyglot Notebooks extension's settings for `Kernel Transport Args` and adding the following command line arguments:
0 commit comments