The provider did not return a ProviderManifestToken string error

后端 未结 8 868
失恋的感觉
失恋的感觉 2021-02-12 20:54

I am trying to create a web app using ASP.Net MVC3, Entity Framework and MySQL.

I have added the following code to my Web.Config file.



        
8条回答
  •  长发绾君心
    2021-02-12 21:50

    I know this may be very basic for a couple of you guys, but this exception is also thrown in cases where EF is unable to locate a Connection String to use. If you-re working in a multi-layered application, make sure the connection String is added to your client application, instead of the class library that contains you data access code. Just my 2 cents.

提交回复
热议问题