I'm having an issue attempting to generate a trace file for an application.
Attempting to troubleshoot an Oracle problem, but the trace file isn't being written. This is my app.config which gets moved to the Release folder as exename.app.config. I'm trying to run against Visual Studio.
Here's the app.config.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/>
</startup>
<oracle.manageddataaccess.client>
<version number="*">
<settings>
<setting name="TraceFileName" value="C:\Temp\odpnet4.trc"/>
<setting name="TraceLevel" value="7"/>
<setting name="TraceOption" value="1"/>
</settings>
</version>
</oracle.manageddataaccess.client>
</configuration>
And here's the source code:
Dim o As New Oracle.ManagedDataAccess.Client.OracleConnection(connectionString)
o.Open()
What am I doing wrong that I'm not seeing a file? Thanks