2009-03-23 1 views

답변

0

MSDN 설명서에 따라 클라이언트 및 서버 app.config 파일을 구성하십시오.

서버 :

<?xml version="1.0" encoding="utf-8" ?> 
<configuration> 
    <system.runtime.remoting> 
     <application> 
      <channels> 
       <channel ref="tcp" secure="true" impersonate="true" /> 
      </channels> 
     </application> 
    </system.runtime.remoting> 
</configuration> 

클라이언트 : 속성이 서버 만 tokenImpersonationLevel 클라이언트에 대한 가장 할 호출됩니다

<?xml version="1.0" encoding="utf-8" ?> 
<configuration> 
    <system.runtime.remoting> 
     <application> 
      <channels> 
       <channel ref="tcp" secure="true" tokenImpersonationLevel="impersonation"/> 
      </channels> 
     </application> 
    </system.runtime.remoting> 
</configuration> 

알 수 있습니다.

참조 : http://msdn.microsoft.com/en-us/library/59hafwyt(VS.85).aspx

+0

동일한 문서가 발견되었습니다. 그러나 나는 여전히 클라이언트에서 서버로 통신 할 수 없었다. 시간 제약으로 인해 그룹 (역할)을 서비스에 직접 전달한 경우보다 덜 우아한 솔루션이 구현되었습니다. – deltaearl

관련 문제