dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

All scenarios: Training failed with error "Value cannot be null. (Parameter 'providerFactory')" when choosing SQL Server data source.

v-Hailishi opened this issue · comments

System Information (please complete the following information):
Windows OS: Windows-11-Enterprise-23H2
ML.Net Model Builder 2022: 17.18.2.2421201 (Main Build)
Microsoft Visual Studio Enterprise: 2022(17.9.6)
.Net Core: 6.0,7.0,8.0

Describe the bug

  • On which step of the process did you run into an issue:
    All scenarios: Training failed with error "Value cannot be null. (Parameter 'providerFactory')" when choosing SQL Server data source.

TestMatrix
https://github.com/dotnet/machinelearning-modelbuilder/files/10534387/home-depot-sentence-similarity-small.csv

To Reproduce
Steps to reproduce the behavior:

  1. Select Create a new project from the Visual Studio start window.
  2. Choose the C# Console App (.NET Core) project template.
  3. Add model builder by right click on the project.
  4. Select any scenario.
  5. On the Data page, choose the SQL Server data source.
  6. On the Train page, click "Start training" button, you will see that the training failed.

Expected behavior
Training successful.

Screenshot:
image
image

Additional context:
The bug is not repro when choosing File data source.

The bug has been fixed on the latest main build 17.18.3.2421901.
image