Hi all,
I'm having some problems with .Net Remoting. I was following the instructions on these links,
http://msdn2.microsoft.com/en-us/library/txct33xt(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/ecc85927(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/y6dc64f2(VS.80).aspx
I've finished building the RemotableObject, Host and Client. But when I try to run the Client I get the ff: error.
.Config file 'Client.exe.config' cannot be read successfully due to exception 'System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at System.ConfigServer.RunParser(IConfigHandler factory, String fileName)
at System.ConfigTreeParser.Parse(String fileName, String configPath, Boolean skipSecurityStuff)
at System.Runtime.Remoting.RemotingConfigHandler.LoadConfigurationFromXmlFile(String filename)'.
I have checked the Client.exe.config file and I honestly don't know what the correct URL would be. In the sample it has the http://localhost:8989/RemotableObject.rem. I don't know why it has .rem for its extension.
Please help. Thanks.
I'm having some problems with .Net Remoting. I was following the instructions on these links,
http://msdn2.microsoft.com/en-us/library/txct33xt(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/ecc85927(VS.80).aspx
http://msdn2.microsoft.com/en-us/library/y6dc64f2(VS.80).aspx
I've finished building the RemotableObject, Host and Client. But when I try to run the Client I get the ff: error.
.Config file 'Client.exe.config' cannot be read successfully due to exception 'System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at System.ConfigServer.RunParser(IConfigHandler factory, String fileName)
at System.ConfigTreeParser.Parse(String fileName, String configPath, Boolean skipSecurityStuff)
at System.Runtime.Remoting.RemotingConfigHandler.LoadConfigurationFromXmlFile(String filename)'.
I have checked the Client.exe.config file and I honestly don't know what the correct URL would be. In the sample it has the http://localhost:8989/RemotableObject.rem. I don't know why it has .rem for its extension.
Please help. Thanks.