I recently saw a new problem that showed up as the message below:
Unable to find the requested .Net Framework Data Provider. It may not be installed.
After a long search, i found that the machine.config file (at Windows\Microsoft.Net\Framework\v2.0.50727\config) wasn’t correctly configured with my actual provider (in my case Oracle.DataAccess.Client) thus i had to add the following to my web.config:
<system.data> <DbProviderFactories> <remove invariant="Oracle.DataAccess.Client" /> <add name="Oracle Data Provider for .NET" invariant="Oracle.DataAccess.Client" description="Oracle Data Provider for .NET" type="Oracle.DataAccess.Client.OracleClientFactory, Oracle.DataAccess, Version=184.108.40.206, Culture=neutral, PublicKeyToken=89b483f429c47342"/> </DbProviderFactories> </system.data>
Alternatively, you can add that to your machine.config file if you want it for all of your applications and not just for one specifically.