Search code examples
c#oracleoracle-manageddataaccess

TNS_ADMIN on network hidden shared folder


I am using Oracle Managed Data Access in .NET core and I am experiencing a trouble.

I pointed the TNS_ADMIN environment variable to a network hidden shared folder like this "ITU-PCDSNV280\d$\Temp\TNS"

When I try to open the connection, I receive the error ORA-12154.

If I access the folder by Windows Explorer, it works perfectly.

Anothers apps works well too.

If I use the TNS_ADMIN on a shared folder without $ (like \ITU-PCDSNV280\admin), it works well too.

I think the problem is the $ sharing. Is there a workaround to this?

Thanks

André


Solution

  • I ran into the same problem and ran a support case with Oracle. The bug is supposed to be fixed in the 19.6.0 release of ODP.NET. Our problem was in the full .NET driver, but I assume it is fixed in .NET core as well.

    I found no workaround, other than using a "visible" share (one without $ in the end).