I want to use the client and server application in different machines. I don't know how I use this program by Com+, if so, do I need register the proxy.dll in the client machine? and how do I set in the Component Service?
By the way, if I make a server application(DLL)myself by ATL
and check the Check box for Allow Merging of Proxy/Stub on the application setting page of ATL, do I need a single proxy.dll in the client machine?
I use Windows 2000 in the client and server computer.
Thank you in advance.
11. If you want to run the client on a different machine, check the following:
"Ping server-machine-name" is fine.
Run dcomcnfg.exe on server machine to add the user account that runs the client.exe.
Copy proxy.dll to the client machine and register it by regsvr32.exe.
following the step, someone said:"When run client on different machine with server, client says 'CoCreateInstanceEx failed.' why?", me too at 1st.
the reason is we should not just "add the user account that runs the client.exe" using dcomcnfg.exe on the Server, we should check the following too:
If you logged in using a domain account and both machine Client and machine Server belong to that domain, then you can be authenticated on both machines. However, if you logged onto machine Client using a local account, then machine Server must have an identical local account (same user name and password), otherwise the activation request will fail.