Mysql
 sql >> Database >  >> RDS >> Mysql

Impossibile inizializzare il provider. Schema mancante o errato

Io stesso mi imbatto nello stesso problema. Sto usando il connettore Mysql 6.3.0.0 Finora mi sono imbattuto nei seguenti suggerimenti durante la ricerca in rete:

1) Add "MySql.Data.dll" & "MySql.Web.dll" into your application  "bin" folder.
2) Add reference to above to dlls in your application .
3) Add autogenerateschema="true" in your web.config file for required sections.
4) Check your Mysql connector version - make sure that the one that is in your bin folder is mentioned in your web.config file. 
5) Check your connection string - make sure it is correct and connected successfully.
6) Check mysql membership related table structure.
7) Check schema version in "my_aspnet_schemaversion" table (e.g since you have upgraded to newer version I insist you should check this).
8) If the problem is on remote machine (e.g Production Server) you may wan to check this : http://www.reggieburnett.com/referencing-connectornet-on-a-remote-machine 

Sono sicuro che potresti aver esaminato questo elenco, ma vorrei che controllassi la versione dello schema nella tabella "my_aspnet_schemaversion" (ad esempio confronta il valore del campo "versione" della tua tabella locale e remota) dal tuo aggiornamento alla versione più recente.

A proposito:ho controllato questo elenco per il mio problema ma non ha aiutato. Spero possa esserti di aiuto.

Modifica :Ciao, siamo in grado di correggere questo errore seguendo:

1) Deleted the tables for memberships in the db and had the mysql membership provider regenerate them
2) than set the Aministration.config file to trust the Mysql Membership Provider (e.g related to IIS admin)

Saluti,

Gaurav