Has anybody successfully implemented Oracle tracing with ODP.NET (Managed version) from within a Powershell script? The ODP.NET calls work in Powershell as expected, but it is not apparent that the config file is being read to set the tracing level and trace file destination, despite following the directions and placing app.config in the Powershell home directory.
app.config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<oracle.manageddataaccess.client>
<version number="*">
<settings>
<!-- #OracleConfiguration.TraceFileLocation =".\traces";
#OracleConfiguration.TraceLevel = 7; -->
<setting name=”TraceLevel” value=”7" />
<setting name=”TraceFileLocation” value=”.\traces\”/>
</settings>
</version>
</oracle.manageddataaccess.client>
</configuration>
This has always been squirrelly in Oracle anyway but seems to not work at all with Powershell...