Avatar of finance_teacher
finance_teacher

asked on 

Visual Studio - ClickOnce Oracle Client ?

I did the below steps, but get a
"System.data.oracleclient requires oracle
client software version 8.1.7 or greater" error.

How can I include in my APP without having to
manually install the "OracleClient" on 200+ PCs ?
----------------------------------------------------
Steps
 1. create new C# dot net 3.5 WinForms APP
 2. add "New Item", "Data", "DataSet"
 3. open Server Explorer WINDOW, "Connect to Database", "OracleClient"
 4. drag table onto "DataSet1.xsd"
 5. open "Form1.cs", open Data Sources WINDOW
 6. drag table onto "Form1.cs"
 7. deploy APP via ClickOnce
 8. get above error on some client PCs
.NET ProgrammingVisual Basic.NET

Avatar of undefined
Last Comment
finance_teacher
Avatar of lludden
lludden
Flag of United States of America image

In references, can you change Copy Local to yes for that assembly?
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

In the Publish tab (which you use for ClickOnce) of project properties, click on Application Files button. Against the Oracle DLL, select "Include" from the list.
Avatar of finance_teacher
finance_teacher

ASKER

I have both of the above done, but it still gives the same error.

How can I package Oracle CLIENT with my ClickOnce install ?
references.jpg
appFiles.jpg
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of finance_teacher

ASKER

I added the four attached DLLs, republished, and it seems to work.

Am I missing anything ?
s001.jpg
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo