Solved

Oracle data access

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get id from json Data with NewtonSoft 3 34
Error in page 3 46
Syntax error 9 45
Eagerly loading related objects in entity framework 5 26
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

15 Experts available now in Live!

Get 1:1 Help Now