Link to home
Start Free TrialLog in
Avatar of amit1978
amit1978Flag for India

asked on

COM+ (MTS) deployed at client.

I am developing on 3-tire application, where register all the component on server (Business Layer) and deployed the MSI file exported from package of Component Service on client machine.

but what i am not able to get is as i deploy the MSI file on client machine it also intall the DLL compont on the client machine, then if any change occure or any break in ActiveX version my client application is not able to access it.

Might be i am bit confusing, please explain where i am wrong or provide some usefull link.

Thanks in advance.

Amit Jain
Avatar of fds_fatboy
fds_fatboy

You should not install the DLL on tClient machine. If this is happening you have the wronk kind of MSI (Server Application). When exporting (creating the MSI) from COM+ on the server machine, you should create an Application Proxy MSI. The client machine should not have the DLL registered at all before running the MSI  - if it does uninstall the current MSI/unregister the DLL. Every time you upgrade the public interface(s) of your COM+ component, you need to rexport and redeploy the MSI, (uninstalling the previous one first). On your development machine, you will have trouble if you try and run the COM+ component in debugger locally if you have the proxy stub registered. Also as stated previously you may have trouble registering the proxy stub if you have the dll registered. The act of compiling in VB automatically registers your control.

Other things to note:

COM+ objects should be developed with Binary Compatibility set.
COM+ objects work best when they are stateless, i.e. do not hold their own data.
Avatar of amit1978

ASKER

Hi thanx for response.

could u pls let me know step and setting to be done for exporting and inporting the MTS package. its realy good if u provide some usefull like too.

meanwhile i do some RND(tests) on COM+ feature and so.

Amit
ASKER CERTIFIED SOLUTION
Avatar of fds_fatboy
fds_fatboy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok i have missed

* Check Project/Properties/Component/Remote Server Files
/.

Thanx ..... but could u give me some usefull site where i can get some usefull information regarding COM Plus(MTS) and point keep in mind for developing and deploying COM+ component(i have clear fundamental of activeX).

like transaction mode(supported, required, required new....)

Also some tipical interview question help me.
>>>>>>>>>>>points increased.<<<<<<<<<<<<<<<
and also if DLL is running on server then its something like out of process component then what the difference between ActiveX DLL and EXE.