odp.net connection opening problem

Last post 05-13-2008 5:50 AM by nomercy007. 1 replies.

Sort Posts:

  • odp.net connection opening problem

    05-12-2008, 11:23 AM

    I am also facing odp.net connection opening problem.

    when i included oracle.dataaccess.dll in my code and i created the connection it's throwing error .

     i am getting error as " The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception." .

     

    this is inner exception:- "The provider is not compatible with the version of Oracle client" System.Exception {Oracle.DataAccess.Client.OracleException}

     

     this is stack trace: at Oracle.DataAccess.Client.OracleInit.Initialize()\r\n at Oracle.DataAccess.Client.OracleConnection..cctor()" string .

    if any body know the solution

    please get back to me. please i am struck at this position..

    Thanks&Regards

     bharath

  • Re: odp.net connection opening problem

    05-13-2008, 5:50 AM

     what version of oracle client you are using?

    It looks that you are using different versions for the oracle.dataaccess.dll and the oracle client

Page 1 of 1 (2 items)
Microsoft Communities
Page view counter