Solved

Oracle data access

Posted on 2015-01-15
2
93 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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