I am developing an Asp.Net 2.0 website, with MySql 6.0 connector and same Membership provider. Every thing was running until I uploaded my page having use of that connector 6.0
I simply used this
and made the connection in code
System.Data.OleDb.OleDbConnection conn= new System.Data.OleDb.OleDbConnection();
this code is running absolutely fine on my computer but its not working when I upload the page.
It shows this error:
CS0433: The type 'MySql.Data.MySqlClient.MySqlConnection' exists in both 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\1e4eaa05\e62de4c8\assembly\dl3\cf265f44\00f987f7_7669c801\MySql.Data.DLL' and 'c:\windows\assembly\GAC_MSIL\MySql.Data\22.214.171.124597__36c71baaebd03a5d\MySql.Data.dll'
When I checked I found a difference in dll version. Server is having Mysql 4.0.
Please tell me how to overcome this issue. I just checked my local computer where I havent found that dll in temporary asp.net files.
Thanks in advance.