2
Answers

SqlDatasource control

Dzung Dakao

Dzung Dakao

7y
886
1
Hi,
 
Visual Studio 2015. MySql.
 
I am using a SqlDataSource control in a Default.aspx form. Trying to connect to MySql database. When I go through the wizard, everything works fine. All the tables were showing in the dropdown. But, when I tried to run the "test query", it generates the following error message.
 
 "Could Not Create Connection. Object reference not set to an instance of an object".
 
Did I miss anthing? Any idea?
 
Thank you in advance.... 
 
 
Answers (2)
0
Dzung Dakao

Dzung Dakao

NA 17 3.3k 7y
Satyaprakash Samantaray
 
Everything is checked (many many times) 
0
Satyaprakash Samantaray

Satyaprakash Samantaray

57 29.2k 10.3m 7y
check your proper dB name and connect ion path....