ora-20001:ora-02074: Unable to SET NLS in Distributed transaction processing

Source: Internet
Author: User
Tags oracleconnection

OracleConnection Sqlcon = new OracleConnection (); try {sqlcon.connectionstring = connection; if (sqlcon.state = = connectionstate.closed) {Sqlcon.open ();} OracleCommand mycommand = new OracleCommand (); Mycommand.commandtimeout = 3600; myCommand.CommandText = procedurename; Mycommand.connection = Sqlcon; myCommand.CommandType = CommandType.StoredProcedure; foreach (oracleparameter parameter in Parameters) myCommand.Parameters.Add (parameter); Mycommand.executenonquery (); return 1; The catch (Exception ex) {throw ex;} finally {sqlcon.dispose ();}

Ora-20001:oracle error detected in ora-20001:oracle error -20001:fnd_global.set_nls -2074:fnd_global.set_nls.set_parameter (' NLS_ ORA-02074 detected in LANGUAGE ', ' Simplified Chinese '): Unable to SET NLS in Distributed transaction processing

Workaround: Add workaround Oracle Bugs in the database connection string 914652=true

Found on the internet for several days to find, and finally solved my problem, oh oh ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.