C# samples all throw exceptions on VS.Net 2005 express
I built democs via VS.net 2005 Express beta1, everything seems alright, but when i try to execute a pair of sample, e.g. Hello.
i first started server.exe, then i try to start client
a Exception was thrown:
Ice.ConnectFailedException: Connect failed ---> System.Net.Sockets.SocketException: request connect on a socket that is already connected
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at IceInternal.Network.doConnect(Socket socket, EndPoint addr, Int32 timeout)
--- End of inner exception stack trace ---
at IceInternal.ProxyFactory.checkRetryAfterException( LocalException ex, Int32
cnt)
at Ice.ObjectPrxHelperBase.__handleException(LocalExc eption ex, Int32 cnt)
at Ice.ObjectPrxHelperBase.ice_isA(String __id, Context __context)
at Ice.ObjectPrxHelperBase.ice_isA(String __id)
at InitialPrxHelper.checkedCast(ObjectPrx b)
at Client.run(String[] args, Communicator communicator)
at Client.Main(String[] args)
why checkout throws such exceptions? i did not modify any code given by the example.
Last edited by Leaf : 10-09-2004 at 12:26 AM.
|