The server has rejected the client credentials.

morphnike

Active member
Joined
Oct 8, 2005
Messages
25
Programming Experience
1-3
hi guys,
Now, this is something weird.
I think the problem is in .net 2.0
it works on localhost, but it doesnt work on tcp

Dim objServ As Server
Dim objWellColl() As WellKnownClientTypeEntry = RemotingConfiguration.GetRegisteredWellKnownClientTypes
objServ = Activator.GetObject(
GetType(Server), "tcp://hera:50069/Connect") tcp://localhost:50069/Connect)
'Try
objServ.Connect()

the last line gives an error (the server has rejected your credentials), however if I run it on localhost, it works perfect.
I've heard that .net 2.0 has an extra authorization procedure when it tries a remote connection.

any ideas???
 
Back
Top