Actually, it's not that obvious. I've been working with this project for a few years now, and never had a problem with this.
I can also verify that this works fine under both NT4and Win2k. Yes, you do get a warning that the project should be run under MTS, but you can still run it.
Also, in order to debug a COM+/MTS object you should compile it, install it in COM+ and then be able to run it in debug mode. But this doesn't solve the problem.
From MSDN:
--AndersSpecifies the transactional behavior of a class. This property is only used by components running in the Microsoft Transaction Server, and has no effect if the component is run outside of the Transaction Server.




Reply With Quote