Ciao

ho un problema nella pubblicazione di un sito.

Se mi collego al DB MYSQL5 tramite codice

Dim cn As New CoreLab.MySql.MySqlConnection("Database=vdlweb;Dat a Source=localhost;User Id=root;Password=123456;")
Dim cm As New CoreLab.MySql.MySqlDataAdapter("SELECT * FROM audio limit 10", cn)
cm.Fill(ds)
GridView1.DataSource = ds.Tables(0)
GridView1.DataBind()
cn.Close()

funziona.

Se mi collego tramite configurazione guidata del
mysqldatasource mi da errore.

Unable to find the requested .Net Framework Data Provider. It may not be installed.

Stack Trace:

[ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.]
System.Data.Common.DbProviderFactories.GetFactory( String providerInvariantName) +1447431
System.Web.UI.WebControls.SqlDataSource.GetDbProvi derFactory() +63
System.Web.UI.WebControls.SqlDataSource.GetDbProvi derFactorySecure() +19
System.Web.UI.WebControls.SqlDataSourceView.Execut eSelect(DataSourceSelectArguments arguments) +120
System.Web.UI.DataSourceView.Select(DataSourceSele ctArguments arguments, DataSourceViewSelectCallback callback) +17
System.Web.UI.WebControls.DataBoundControl.Perform Select() +149
System.Web.UI.WebControls.BaseDataBoundControl.Dat aBind() +70
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.Ens ureDataBound() +82
System.Web.UI.WebControls.CompositeDataBoundContro l.CreateChildControls() +69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +50
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Control.PreRenderRecursiveInternal() +170
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041

Utilizzo un data provider a pagamento Corelab (ottimo!)
ho copiato nella cartella bin le dll di corelab infatti
come dicevo prima con il codice funziona con la configurazione guidata no!

In locale funziona sia con il codice che con la configurazione guidata.
Nel server funziona solo con il codice.

Come mai?

grazie!