The problem of "the server has rejected client creden。" mainly occurs in vs2005 and later versions.
This problem mainly occurs when "registering a channel with Channel service. In versions earlier than vs2005, "registering a channel with Channel service" only requires system. runtime. remoting. channels. channelservices. registerchannel (Channel) is changed to System in vs2005 and later versions (vs2008. runtime. remoting. channels. channelservices. registerchannel (Chan, true/false). Check the msdn group. The following Boolean variable indicates:
-
Ensuresecurity
Type: system...:. Boolean
True if security is enabled; otherwise, false. Setting this value to false does not invalidate the security settings on the TCP or IPC channel. For more information, see "Remarks ".
The simplest solution to "the server has rejected client creden" is to change the registerchannel of the client and server to "registerchannel (Chan, false )".
For the solution of registerchannel (Chan, true), please advise!