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

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

Postby 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?

Postby rani » Thu 16 Mar 2006 13:56

added
Code: Select all
 
   
              name="MySQLDirect .NET Data Provider"
        invariant="CoreLab.MySql"
        description="CoreLab MySQLDirect .NET Data Provider"
        type="CoreLab.MySql.MySqlDirectFactory, CoreLab.MySql, Version=3.50.10.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
   

 


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.
rani
 

Postby 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.
Serious
 


Return to dotConnect for MySQL