Last post Nov 28, 2012 10:41 AM by xboxfreak
Nov 28, 2012 10:41 AM|xboxfreak|LINK
I have a .NET 4.0 website that I've been running on my Windows 2003 server for a while. It is using MySQL as the database backend for both Membership and basic database operations. I deleted a datagrid from a page and replaced it with a new one. Tested
it in VS 2010 and both the membership and datagrid worked as expected.
I published the site to my server, and overwrote as usual. I was able to login, however when I click on the page which would show the datagrid, I get the "Unable to find the requested .NET Framework Data Provider. It may not be installed." message.
I tried adding a Bin directory and the standard MySql.Data.dll, MySql.Web.dll files and re-published, but it's still not working.
What could have changed? I would think that if I can login and out, that the MySql .Net connector on the server is functioning.
Also I checked the code to the page and it is pointing to the correct Datasource (SqlDataSource1), and that is pointing to the correct Connection String, and that is pointing to the correct Provider name, and all jive with the web.config file.
EDIT: The issue was that the MySql Connector was corrupted and required re-installation.