|
-
Apr 10th, 2009, 10:13 AM
#1
Thread Starter
Hyperactive Member
[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
-
Apr 14th, 2009, 05:30 AM
#2
Thread Starter
Hyperactive Member
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
-
Apr 16th, 2009, 02:47 AM
#3
Re: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater
-
Apr 19th, 2009, 07:01 AM
#4
Thread Starter
Hyperactive Member
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
-
Apr 19th, 2009, 04:00 PM
#5
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
-
Apr 20th, 2009, 01:07 AM
#6
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
-
Apr 20th, 2009, 01:21 AM
#7
Thread Starter
Hyperactive Member
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
-
Apr 20th, 2009, 01:30 AM
#8
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
-
Apr 27th, 2009, 11:28 AM
#9
Thread Starter
Hyperactive Member
Re: System.Data.OracleClient requires Oracle client software version 8.1.7 or greater
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|