Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

MTSTransactionMode vs COM+ transaction supported

Posted on 2003-02-28
2
Medium Priority
?
1,272 Views
Last Modified: 2007-12-19
I have a vb dll in which the MTSTransactionMode is set to 0. i put dll in com+ and specify it as transaction supported. Can you plese tell me if this object when called from a asp code runs inside a transaction or not
0
Comment
Question by:platinum505
2 Comments
 
LVL 1

Accepted Solution

by:
NicolNghia earned 300 total points
ID: 8055523
Hi platinum,

I think the answer is YES (not tested). NotAnMTSObject(0) is default value for MTSTransactionMode. However we can change this later by using setting in MTS when deploy the .dll.
You can test this fast by bulding a component that has one method that perform 2 update SQL statements. The first SQL statement is valide and the second SQL statement is invalid. This component is NotAnMTSObject at design time.

When deploy this on MTS set this to RequiresTransaction(2). And call the mothod from ASP. If the first SQL statement is not effected. That mean it support Transaction.

Good luck,
0
 
LVL 2

Author Comment

by:platinum505
ID: 8061876
Thanks very much for the practical way, rather than giving some lengthy description.
0

Featured Post

Managing Security Policy in a Changing Environment

The enterprise network environment is evolving rapidly as companies extend their physical data centers to embrace cloud computing and software-defined networking. This new reality means that the challenge of managing the security policy is much more dynamic and complex.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Loops Section Overview
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question