entity framework - EntityFramework: unable to determine the provider name for provider factory of type 'system.data.sqlclient.sqlclientfactory' -
i have website use entity framework , sqlserver. when trying run application on azure following error:
unable determine provider name provider factory of type 'system.data.sqlclient.sqlclientfactory'. make sure ado.net provider installed or registered in application config.
on premises works fine.
i have discovered error caused configuration section (that don't use anymore):
<system.data> <dbproviderfactories> <add name="mysql data provider" invariant="mysql.data.mysqlclient" description=".net framework data provider mysql" type="mysql.data.mysqlclient.mysqlclientfactory, mysql.data" /> </dbproviderfactories> </system.data>
i have removed , worked correctly.
Comments
Post a Comment