Mysql
 sql >> Datenbank >  >> RDS >> Mysql

Anbieter kann nicht initialisiert werden. Fehlendes oder falsches Schema

Ich selbst stoße auf das gleiche Problem. Ich verwende Mysql Connector 6.3.0.0Bisher bin ich bei der Suche im Netz auf folgende Vorschläge gestoßen:

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 

Ich bin sicher, dass Sie diese Liste durchgegangen sind, aber ich möchte, dass Sie die Schemaversion in der Tabelle „my_aspnet_schemaversion“ überprüfen (z. B. den Feldwert „version“ Ihrer lokalen und entfernten Tabelle vergleichen), seit Sie auf eine neuere Version aktualisiert haben.

Übrigens:Ich habe diese Liste für mein Problem überprüft, aber es hat nicht geholfen. Ich hoffe, es kann Ihnen etwas helfen.

Bearbeiten :Hallo, wir können diesen Fehler wie folgt beheben:

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)

Grüße,

Gaurav