Unable to initialize provider. Missing or incorrect schema. for MySql.Web connector

前端 未结 5 1882
清歌不尽
清歌不尽 2021-01-18 02:41

I am trying to use MySql Connector 6.2.2.0 for membership and role providers.

The issue I\'m having is: Unable to initialize provider. Missing or incorrect

5条回答
  •  滥情空心
    2021-01-18 03:05

    My problem was I had "localhost" in my connection string instead of the IP address of the webhost's MySQL server.

    Once I changed that in my web.config file it worked fine, so you need to check your web.config file very carefully.

提交回复
热议问题