Dot Net Distributed Application by using COM+ (MTS server)
Hello,
we want to build Dot net Distributed application. means we want place our Logic DLL (Dotnet Assembly) in different mechine as hosted by COM+ server. and want access this in client side (in UI layer). How we can access it without using Remoting or Webservices. Is it possible?
How we can develop a Dot net Distributed application only using by COM+ (Enterprise) services.
For remote access to a COM+ component, you need to do 3 things:
1. Your ServicedComponent needs to be a Server Component (i.e. ActivationOption.Server)
2. Using COM+ UI (Component Services MMC), you can export an application proxy for that specific component from the server computer and then install this application proxy on the remote machine where the client will run.
3. In the client project, add a reference to the ServicedComponent. When the client app will run on the computer where the proxy was installed, it will activate the component on the server.
Cheers!
A good introduction to using COM+ / Enterprise Services is in the Microsoft Enterprise Services paper (http://www.microsoft.com/windowsserversystem/overview/benefits/enterpriseservices.mspx), part of the Microsoft Enterprise Development Strategy Series. At the end of this paper there is a comprehensive collection of related articles that cover the latest COM+ 1.5 features and many aspect of managed code development.
Let me know if this does not provide you with the guidance that you require.
Thanks,
Andy Milligan
Transactions Team, Microsoft.
Hello Florin,
When i am creating component for Dotnet Assembly, then in Export - Application proxy option disable only server option enable. So i am unable to export as application proxy.
have you check that for Dotnet Assembly.
Hello Florin,
Now i have export that as Application proxy. but when i am installing on client mechine it gives error as - " Error on Registering Com+ application. Contact support".
Please tell me what can i do.