Bug #88683 Error using the add new data source configuration wizard VB.NET 2017
Submitted: 28 Nov 2017 15:31 Modified: 29 Nov 2017 10:12
Reporter: Vinicius Mariano Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:5.7.17 OS:Any
Assigned to: CPU Architecture:Any
Tags: VISUAL STUDIO.NET 2017 AND MYSQL

[28 Nov 2017 15:31] Vinicius Mariano
Description:
When I try to add the DataSource (table) from my MySql database, it gives an error: Could not get schema information for table or view <table name>. 

The connection to MySql occurs normally and I can even select the tables with the checkbox. 

The error (Could not get schema information for table <table_name>) always occurs after I select the Tables that are displayed and the moment I click Finish. Look at the attached photo. And one error occurs in list of errors: Object reference not set to an instance of an object. 
The connection to MySql occurs normally and I can even select the tables with the checkbox. 

This is true for other test tables that come with SQL Server Express as well. The Data Source Configuration Wizard give error: Custom Tool Error: Failed to generate code. Object reference not set to an instance of an object. 
I already installed the current Connector for Visual Studio 2017. 
I tried via ODBC and it also gives the same error.

How to repeat:
The error connection to MySql occurs normally and I can even select the tables with the checkbox.

The error (Could not get schema information for table <table_name>) always occurs after I select the Tables that are displayed and the moment I click Finish. Look at the attached photo. And one error occurs in list of errors: Object reference not set to an instance of an object.
[29 Nov 2017 10:12] Chiranjeevi Battula
Hello Vinicius Mariano,

Thank you for the bug report.
This is most likely duplicate of Bug #88507, please see Bug #88507

Thanks,
Chiranjeevi.