7 Ответы Последний ответ: 01.03.2016 18:10, автор: Alex Keh - Product Manager-Oracle

    Unable to load DLL 'OraOps10.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"   Source="Oracle.DataAccess"

    user12057969

      Hi ,

      I am getting this error while i am trying to communicate with Oracle database from .Net windows application.

      For your reference i am sharing the details below

       

      System.DllNotFoundException was unhandled

        Message="Unable to load DLL 'OraOps10.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"

        Source="Oracle.DataAccess"

        TypeName=""

        StackTrace:

             at Oracle.DataAccess.Client.OpsTrace.GetRegTraceInfo(UInt32& TrcLevel, UInt32& StmtCacheSize)

             at Oracle.DataAccess.Client.OraTrace.GetRegistryTraceInfo()

             at Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString)

             at WindowsFormsApplication1.Form1.button1_Click(Object sender, EventArgs e) in C:\Users\rsahapuja\Documents\Visual Studio 2008\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs:line 25

             at System.Windows.Forms.Control.OnClick(EventArgs e)

             at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

             at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

             at System.Windows.Forms.Control.WndProc(Message& m)

             at System.Windows.Forms.ButtonBase.WndProc(Message& m)

             at System.Windows.Forms.Button.WndProc(Message& m)

             at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

             at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

             at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

             at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)

             at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

             at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

             at WindowsFormsApplication1.Program.Main() in C:\Users\rsahapuja\Documents\Visual Studio 2008\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs:line 18

             at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)

             at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()

             at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

             at System.Threading.ThreadHelper.ThreadStart()

        InnerException:

       

      i am using Windows 10.

      Visual studio 2008

      Oracle client 10g (64 bit)

      Please let me know how can we fix this.

       

      Thanks,

      Rinku