Unable to find the requested .Net Framework Data Provider. It may not be installed.

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
rani

Unable to find the requested .Net Framework Data Provider. It may not be installed.

Post by rani » Thu 16 Mar 2006 13:30

Using the trial version of 3.50 beta.

The web app works ok locally. When deployed to the web site via the Visual Studio 2005 Copy Web function, this error appears. I have deployed as instructed in the FAQ, with CoreLab.MySql.dll in the Bin directory (App_licenses.dl is there as well). I think it has something to do with the connection string being defined in web.config.

rani

fix/workaround?

Post by rani » Thu 16 Mar 2006 13:56

added

Code: Select all

  
    
      
    
  
section to web.config, works on web site now, but causes error locally because invariant redeclared. would prefer the right way to fix this, but doing ok for now.

Serious

Post by Serious » Thu 16 Mar 2006 15:40

You have to delete (or comment) corresponding node in machine.config file on your development machine to avoid conflicts.
Note that this can cause problems using DbProviderFactory with applications that have no .config files configured in the way you posted.

Post Reply