Results 1 to 9 of 9

Thread: [RESOLVED] System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    403

    Resolved [RESOLVED] System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

    hi all,

    i was under the impression that using the System.Data.OracleClient namespace will allow me to deploy my application without having the client machine install any OracleClient software besides the .Net Framework 2.0 which if i'm not mistaken, contains the System.Data.OracleClient.dll.

    but after creating a WinForm application and then publishing it thru ClickOnce , i found myself getting this error when running the application on the client machine.

    is this a normal behavior or did i do something wrong in the process?

    thanks

    VB Version: Microsoft Visual Studio 2008 Professional Edition
    .NET Version: Microsoft .NET Framework Version 3.5
    OS: Windows XP SP3

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    403

    Re: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

    does anyone have any information regarding this?

    VB Version: Microsoft Visual Studio 2008 Professional Edition
    .NET Version: Microsoft .NET Framework Version 3.5
    OS: Windows XP SP3

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

    Hey,

    Does this help you out:

    http://www.dotnetjunkies.com/WebLog/.../19/45958.aspx

    Gary

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    403

    Re: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

    hi,

    thanks for the info.

    unfortunately the article does not apply to my current situation. mine works when the application is run on the server. the problem occurs when it is run on some other machine.

    thanks.

    VB Version: Microsoft Visual Studio 2008 Professional Edition
    .NET Version: Microsoft .NET Framework Version 3.5
    OS: Windows XP SP3

  5. #5
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

    The Oracle client software still needs to be installed on the client computer to allow connection to the Oracle database. The database user the SQL*Net which is the Oracle conectivity layer for Oracle database. The System.Data.OracleClient dll does not provied this this function.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  6. #6
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

    Hey Gary,

    Good to know, I wasn't quite sure if that was the case or not.

    Thinking about it, I guess it makes sense, the times that I have used the OracleClient, or rather the ODP.Net, the connection string has always used a name from the TNSNAMES.ORA file, so it stands to reason that the Oracle Client has to be installed in order to provide this functionality.

    Thanks for the clarification.

    Gary

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    403

    Re: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

    hi,

    thanks for the info.

    this must be off-topic but is there a way to have the oracleclient included when deploying applications using ClickOnce?

    VB Version: Microsoft Visual Studio 2008 Professional Edition
    .NET Version: Microsoft .NET Framework Version 3.5
    OS: Windows XP SP3

  8. #8
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

    Hey,

    Which installer package are you using?

    You should be able to include the Oracle Client in your application package and then execute the necessary installation steps in a Custom Installer. Either that, or check to make sure that the Oracle Client is installed (i.e. check the registry) before installing your application and if it isn't there, prompt the user to install it, and exit your installation.

    Gary

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    403

    Re: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

    thanks

    VB Version: Microsoft Visual Studio 2008 Professional Edition
    .NET Version: Microsoft .NET Framework Version 3.5
    OS: Windows XP SP3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width