For the first time, I was able to perform Oracle distributed transaction processing, and I was beaten by a storm. After two and a half days in a row, I finally completed the transaction. During this period, I encountered various problems, and I was tired of Google, at first, I was still confident that the last new error message was a bit desperate. Then I put my energy into an article so that future generations could not take a detour. During this period, I would like to thank Sam and King, who are not a company, but as a common software service provider, everyone is very enthusiastic. Although he always said that he is very busy, but I asked him a lot of questions.
First, I will explain the causes of several errors in the pipeline.
{System. Data. oracleclient. oracleexception: ORA-00161: The branch length for transaction processing is 82 invalid (maximum allowed length is 64 )}
ORA-00161: Transaction branch length 82 is illegal (maximum allowed 64)
Access violation at address 07c2deee in module oran11.dll
These three errors indicate that your client has multiple versions. For example, I have 10g, 11g, and both home addresses in the environment variables have
ORA-12154: TNS: cocould not resolve the connect identifier specified
Copy tnsnames. ora under Network/admin/simple/in the 11g home directory to the network/admin/directory.
{"Try to read or write the protected memory. This usually indicates that other memory is damaged. "}
Database connection string problem, recommended Syntax: connectionstring = "Data Source = TMS; user id = ex; Password = ADM; Unicode = true"
Last question
StackTrace = '\ 0' at System. Data. OracleClient. OciEnlistContext. Join (OracleInternalConnection
InternalConnection, Transaction indigoTransaction) \ r \ n at System. data. oracleClient. oracleInternalConnection. enlist (String userName, String password, String serverName, Transaction transaction, Boolean manualEnlistment) \ r \ n at System. data. oracleClient. oracleInternalConnection. activate (Transaction
Transaction) \ r \ n at System. data. providerBase. dbConnectionInternal. activateConnection (Transaction transaction) \ r \ n at System. data. providerBase. dbConnectionPool. getConnection (DbConnection owningObject) \ r \ n at System. data. providerBase. dbConnectionFactory. getConnection (DbConnection
OwningConnection) \ r \ n at System. Data. ProviderBase. DbConnectionClosed. OpenConnection (DbConnection outerConnection, DbConnectionFactory
This problem occurs because you are using Win7 for development. Please switch to Xp for the system and deploy your WCF Service to viis in VS2008. I have a reply on msdn
{"Unable
To get error message (161) (0 )."}?? In TransactionScope