using MySql.Data.MySqlClient;this is whaat i am using in my dblayer
<assemblies>
<add assembly="MySql.Web, Version=6.1.6.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/>
<add assembly="MySql.Data, Version=6.1.6.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/>
</assemblies>
This is the assemblies in my web.config
<connectionStrings>
<add name="******" connectionString="Server=*****;Persist Security Info=True;Database=mwarburton;Uid=*****;Pwd=*****" providerName="MySql.Data.MySqlClient"/>
</connectionStrings>
and this is my connectionstring in web.configwhen i try to run my restful api on Postman a google chrome application i get the following error

If someone could please tell me how i can solve this and connect to my database it would be a great help as its getting really frustrating now!!
Thank you!

New Topic/Question
Reply


MultiQuote





|