G
Guest
I hope this is the right place for this, if not please move it.
I have developed a windows application which uses an Oracle database for
storage. In order to communicate with the DB, I am using the ODP .NET
provider from Oracle. This works well on my development platform, however
when I try to run the application on a client machine I run in to problems. I
have copied and pasted the error at the bottom of this message.
Some background information. I compiled the application in 'Release' mode. I
copied the entire folder over to the client, including the
Oracle.DataAccess.Client.DLL file.
Is there a step I have missed here, or does something need to be required on
the client computers in order for this to work?
Thanks for your help,
Tas
Error message:
---------------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.DllNotFoundException: Unable to load DLL 'OraOps10w.dll': The
specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Oracle.DataAccess.Client.OpsTrace.GetRegTraceInfo(UInt32& TrcLevel,
Int32& StmtCacheSize)
at Oracle.DataAccess.Client.OraTrace.GetRegistryTraceInfo()
at Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString)
at Oracle.DataAccess.Client.OracleDataAdapter..ctor(String
selectCommandText, String selectConnectionString)
at HRTrainingApplication.ucEmployees..ctor() in D:\VS
Projects\HRTrainingApplication\HRTrainingApplication\ucEmployees.cs:line 29
at HRTrainingApplication.Form1.treeView1_AfterSelect(Object sender,
TreeViewEventArgs e) in D:\VS
Projects\HRTrainingApplication\HRTrainingApplication\Form1.cs:line 24
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
I have developed a windows application which uses an Oracle database for
storage. In order to communicate with the DB, I am using the ODP .NET
provider from Oracle. This works well on my development platform, however
when I try to run the application on a client machine I run in to problems. I
have copied and pasted the error at the bottom of this message.
Some background information. I compiled the application in 'Release' mode. I
copied the entire folder over to the client, including the
Oracle.DataAccess.Client.DLL file.
Is there a step I have missed here, or does something need to be required on
the client computers in order for this to work?
Thanks for your help,
Tas
Error message:
---------------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.DllNotFoundException: Unable to load DLL 'OraOps10w.dll': The
specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Oracle.DataAccess.Client.OpsTrace.GetRegTraceInfo(UInt32& TrcLevel,
Int32& StmtCacheSize)
at Oracle.DataAccess.Client.OraTrace.GetRegistryTraceInfo()
at Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString)
at Oracle.DataAccess.Client.OracleDataAdapter..ctor(String
selectCommandText, String selectConnectionString)
at HRTrainingApplication.ucEmployees..ctor() in D:\VS
Projects\HRTrainingApplication\HRTrainingApplication\ucEmployees.cs:line 29
at HRTrainingApplication.Form1.treeView1_AfterSelect(Object sender,
TreeViewEventArgs e) in D:\VS
Projects\HRTrainingApplication\HRTrainingApplication\Form1.cs:line 24
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)