Solved

Oracle data access

Posted on 2015-01-15
2
92 Views
Last Modified: 2015-01-16
I have an initial code for my application which access Oracle database. When I run app, I got error "Could not load file or assembly 'Oracle.DataAccess'  or one of its dependencies. An attempt was made to load a program with an incorrect format.  I search online here for solution:
http://stackoverflow.com/questions/15596834/could-not-load-file-or-assembly-oracle-dataaccess-or-one-of-its-dependencies

I have 2 questions:
1. The above link mentioned about run command like md or copy from within an administrator console. Where is it for "from within an administrator console" ?

2. The link also mentioned run gacutil if Visual Studio is installed. Where is gacutil and where to run the gacutil command?

Thanks.
0
Comment
Question by:minglelinch
2 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 40551584
An administrator console is a Command prompt window that was launched "as Administrator"

The location of gacutil, as well as many of the external tools designed for the framework changes depending on your installation and your version of the framework. However, Microsoft has created a command prompt that automatically know where theses tools are located. You will find in in a Visual Studio Tools submenu of the Visual Studio entry in Start...Programs if you are on a version of Windows that has a Start menu, otherwise there is a Developer Command... tile on the Start Window of Windows 8.

Since gacutil also requires that you run it as an administrator, simply start that Command prompt window as an administrator through a right click, and all the command you require will be available simply by typing them.
0
 
LVL 1

Author Closing Comment

by:minglelinch
ID: 40553499
Thank you.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question