DbProviderFactories.GetFactoryClasses() do not work when I uninstall odp.net

Posted by Jitendra yashwantrao on Stack Overflow See other posts from Stack Overflow or by Jitendra yashwantrao
Published on 2010-05-26T06:59:21Z Indexed on 2010/05/26 7:01 UTC
Read the original article Hit count: 155

Filed under:
|

I am using DbProviderFactories.GetFactoryClasses() method to check odp.net exists or not. It works perfectly fine when odp.net is not installed or when it is installed. But when I unistall odp.net 10g then also it shows odp.net provider exists. I have checked registry it doesn't show odp.net. Please suggest a better way to check if odp.net exists or not.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET