CannotFindAppropriateConnectionProviderException Class
An exception that is thrown when an appropriate connection provider is not found.
Namespace: DevExpress.Xpo.Exceptions
Assembly: DevExpress.Xpo.v19.1.dll
Declaration
Remarks
This exception is thrown when a connection provider is not found that can process a specific connection string or IDbConnection object.
Solution:
- ensure that the connection string or connection object refers to a valid connection provider;
- if using a custom connection provider (not shipped with XPO) you should register it before it can be invoked. The provider must contain a static constructor that performs the registration and a static Register method (see the implementation of existing connection providers) .
See Also