MySql.Data.MySqlClient cannot be found.

The following message sometimes occurs when trying to connect from ASP.NET to the MySQL database.

Namespace or type specified in the Imports 'MySql.Data.MySqlClient' cannot be found.

This can be solved by creating a bin directory under your wwwroot and placing the DLL there. This will solve the problem in most cases.

Can't work it out yourself? Then please contact the helpdesk