I downloaded the odp.net managed provider beta 126.96.36.199.50. It seems to be working fine, but it fails to pickup the names.default_domain parameter in sqlnet.ini. Is this a known bug? If not, should I report my findings somewhere other than here?
A short example:
NAMES.DEFAULT_DOMAIN = world
is set in sqlnet.ora
Using the oldfashioned odp.net I would then put the following in the connect string: *"User Id=/;Data Source=mydb;"* and this would work because of the default_domain parameter. With the managed provider beta, I have to put *"User Id=/;Data Source=mydb.world;"* in the connect string for it to work. This means, if this behaviour persists beyond the beta phase, that migration to the managed provider will be a bit "unsmooth".
Well, in my case both tnanames.ora and sqlnet.ora are in the folder where the tns_admin environment variable points. I also know that sqlnet.ora is being used, since a get an exception if I rename sqlnet.ora to soemthing else before trying to connect.