Symptom
- The System.Data.Common.DBProviderFactories object allows Microsoft .NET programmers to program against different databases without requiring an explicit link reference to an ADO.NET data provider. This allows for .NET developers to develop a "common code base" for different databases and request different database ADO.NET data providers at runtime. When working with the SQL Anywhere ADO.NET Provider and the DBProviderFactories class, it is possible to see the exception:
System.ArgumentException - "Unable to find the requested .NET framework data provider. It may not be installed."
or
System.ArgumentException - "Failed to find or load the registered .Net Framework Data Provider"
after deploying a .NET application to an environment where the SQL Anywhere client software was also deployed.
- The DBProviderFactories class can be referenced either explicitly in .NET code, or implicitly when using ASP.NET and a web.config file with <connectionStrings> and <add ... providerName=""> XML tags.
Read more...
Environment
- SAP Sybase SQL Anywhere (all versions)
- Microsoft Windows XP, Vista, 7, 8, 8.1, 2000, 2003, 2008, 2008 R2, 2012, 2012 R2
- Microsoft .NET (2.0 and higher)
Product
SAP SQL Anywhere 16.0 ; SAP SQL Anywhere, cloud edition 1.0 ; SAP Sybase SQL Anywhere 12.0 ; Sybase SQL Anywhere 10.0 ; Sybase SQL Anywhere 11.0
Keywords
11610867 , KBA , BC-SYB-SQA , SQL Anywhere (on premise, on demand) , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.