Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Distributed Transaction Error !!! Part 2

Status
Not open for further replies.

bots

Programmer
Dec 26, 2000
3
BR
Hi everybody

I've made some tests and I've found out some clues:
Whenever I have a COM component that is "requires new transaction" or "requires transaction" and I try to open a connection to a remote database (SQL Server 7.0) inside the component, I get the error "Distributed Transaction Error". I'm asking myself: Does it make any sense, I mean, to open a connection inside a transaction?

Does someone have any idea?
 
The DTC must be started both on MTS machine and DBMS machine!


Maybe i donnot understand you! I want to migrate to Canada or Australia. Any relative information you supplied will be appreciated!

zallen@cmmail.com
ICQ:101229409
 
Ill tell you what.

send me your vb code to zeevgetner@hotmail.com, and ill tell
you if there is something wrong with it.

any way there is no problem in opening a connection inside a distributer transaction. mts is responsible for the transaction.

i have another idea for you. try to work without the mts, and see if it works. maybe you have a bug that isn't related to the mts.

zeev
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top