Enable ODP.Net logging

后端 未结 3 1677
终归单人心
终归单人心 2021-02-09 13:11

Can anyone help me with enabling ODP.Net logging on a Windows XP machine? I googled and found following link but it did not work for me.

http://download.oracle.com/docs/

3条回答
  •  遥遥无期
    2021-02-09 13:42

    I had the same issues on certain machines when troubleshooting some issues with Oracle Support. I found that changing the path to the output file a couple of times and multiple restarts finally forced the ODP client to start logging. Make sure that the output file is to a directory that your calling application identity has access to.

    Check the following things in the registry keys. Here is an example from my machine for .net4 and 11.2.

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\ODP.NET\4.112.2.0

    • 32 or 64 bit (correct node)
    • Change the Trace Level to 8 (or 64 I think for complete logging)
    • Change the Trace Option = 1
    • Set a valid TraceFileName

提交回复
热议问题