Quote:
After install a COM exported from MTS, I run my simple application, and can create the com object successfully, but once I call on of its method, I got run time error '8004e00f', 'method xxx of object yyy failed', what possible cause will be?
Possible error:
Quote:
In general, after I add a new package to mts. If I don't export the component and just run createobject in the same machine, compare with the method that export the component, and install it in any client machine, what are the difference?
They are exactly the same, the only different is that, on your client machine, you need to register the object so that the same PROGID is installed on your client machine (the exe file in the client folder after you export the package). If you run on the app on the server, then you don't need to export the package.
Quote:
One purpose of mts is to act as middle-tire, if I need to export and install the COM everytime I amend business logic, how is it better than traditional 2-tire app?
In three tiers, if I need to modify the business rule, all I need to do is change the MTS objects, the client and server (user service and data service) sides stay the same. The client only need to change when you want to update the GUI, otherwise, it remains the same.