Solved

Oracle data access

Posted on 2015-01-15
2
81 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

758 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now