Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Oracle data access

Posted on 2015-01-15
2
Medium Priority
?
98 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 2000 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

610 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