Dear amitmirchandani,
There are two issues with the configuration files you've provided. The first on is this line in your client configuration file:
Code:
<client url="tcp://localhost:9000/SimpleServer">
The attribute
url is used in the
client tag if you're working with
CAO (Client Activated Objects). For
SAO (Server ACtivated Objects), like the one you've used, the
client tag contains no attributes. So remove this extra attribute. All else is fine with your server and client config files.
The second issue is the names of your config files. The general structure for naming a config file in .NET is
assemblyname.extension.config, i.e. if your assembly's name is MyAssembly.exe, then the config file for your assemble should be named MyAssembly.exe.config. You can see that you've not followed this convention. Try renaming your config files so that they adhere to this standard. After you do this, don't forget to modify the call to the
RemotingConfiguration.Configure() method accordingly.
I hope this should solve your problem.
Regards,
ejan