ORA-02074: cannot SET NLS in a distributed transaction in OLEDB (works in MS OLEDB)
I try to do a DBMS_SESSION('NLS','''DD/MM/YYYY''');
from VB.NET (Oracle Data Provider for OLEDB 9.2)
and crash with following error (occurs immediately after connecting:
"ORA-02074: cannot SET NLS in a distributed transaction
ORA-06512: at "SYS.DBMS_SESSION", line 101
ORA-06512: at line 1"
When I try exactly the same with the Microsoft OLEDB provider, this works without a problem.
DB is 8.1.7 and is NOT a distributed database, I can also issue this statemnent with sqlplus without any problems.