tags:

views:

378

answers:

2
+1  Q: 

odp.net tracing

How can i enable tracing in a odp.net client from the connection string? Just adding the parameters traceFileName, TraceLevel and TraceOption ?

A: 

You can't. You'll need a registry or XML fix.

But you can emit ALTER SESSION SET SQL_TRACE=true right after logon, either in your application or in AFTER LOGON trigger.

ODP.NET does exactly the same: it looks into registry and executes this statement.

Quassnoi
A: 

After some researching, I've found that ODP.net can be configured via web.config olny in version 11 and above. For previos versiones of ODP.Net, the only way is using the windows registry

Guille