j-w-thomas
asked on
Error MySql.Data.MySqlClient.MySqlConnection is not defined
Hi,
I am trying to upgrade my connection from ODBC to MySql Connector/NET and I am getting this error message:
MySql.Data.MySqlClient.MyS qlConnecti on is not defined
I have added the name space so i am confused by this error.
Could it be that I have an older version of IIS and this namespace is not on my developemnt PC?
Thanks
I am trying to upgrade my connection from ODBC to MySql Connector/NET and I am getting this error message:
MySql.Data.MySqlClient.MyS
I have added the name space so i am confused by this error.
Could it be that I have an older version of IIS and this namespace is not on my developemnt PC?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Actually i think that i have got it, I added a bin folder to my app and added the MySql.Data.dll file to it.
I was also looking on this website for help too.
http://www.15seconds.com/issue/050407.htm
Thanks Dhaest!
I was also looking on this website for help too.
http://www.15seconds.com/issue/050407.htm
Thanks Dhaest!
ASKER
1) done
2) not sure how to do that. I did not do that for the ODBC version, can you help?
3) I added the import on the page and in the config file
can you help with the .dll reference?