Topic
  • 1 reply
  • Latest Post - ‏2013-03-05T06:38:23Z by SystemAdmin
SystemAdmin
SystemAdmin
2826 Posts

Pinned topic Falied to Load or Register .Net framework data provider

‏2013-03-01T04:28:22Z |
I am using visual studio 2008 +IBM DB2 version 8.1.2.1. The below line i have added in web.config file.

<DbProviderFactories>

<add name="IBM DB2.NET Data Provider" invariant="IBM.Data.DB2" description="IBM DB2 Data Provider for .NET Framework 2.0" type="IBM.Data.DB2.DB2Factory,IBM.Data.DB2, Version=8.1.2, Culture=neutral, PublicKeyToken=7c307b91aa13d208"></add></DbProviderFactories>

I could see that the version details in c:\windows\assembly.

Then too im getting error as "Failed to Load or Register .net framework data provider"

I have only one version of db2 on my machine and in assembly also i could see oly one version.

I searched a lot in google but couldnt find anything.

I have a doubt,whether this 8.1 is supported by VS 2008 or not

Please help

Thanks in advance

Abi.
Updated on 2013-03-05T06:38:23Z at 2013-03-05T06:38:23Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    2826 Posts

    Re: Falied to Load or Register .Net framework data provider

    ‏2013-03-05T06:38:23Z  
    Hi Abi,

    v8 db2 .net provider doesnt support .net framework 2.0.
    Hence, i would suggest you to upgrade the .net provider.

    Best Regards,
    Malarvizhi K