如何配置安全性以摆脱.NET Remoting AuthenticationException [英] How do I configure security to get rid of a .NET Remoting AuthenticationException

查看:228
本文介绍了如何配置安全性以摆脱.NET Remoting AuthenticationException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在新PC(运行Windows XP SP2)上安装了使用远程处理的客户端应用程序.当服务器尝试连接到服务器以执行远程处理时,我收到AuthenticationException:

未处理System.Security.Authentication.AuthenticationException.
身份验证期间未满足远程侧安全要求.尝试提高ProtectionLevel和/或
模拟级别.

它可以在旧PC上正常工作-因此这一定是安全配置问题.

我已经在Google上寻求解决方案(没有有用的结果).

请提供有关配置可能在哪里的任何想法-或任何其他想法.

(注意:这些PC在同一个WORKGROUP域中.)

谢谢.
Paul

I have installed a client application that uses remoting on a new PC (running Windows XP SP2). When the server tries to connect to it to perform remoting I get an AuthenticationException:

System.Security.Authentication.AuthenticationException was unhandled.
A remote side security requirement was not fulfilled during authentication. Try increasing the ProtectionLevel and/or
ImpersonationLevel.

It worked okay on the old PC - so it must be a security configuration issue.

I have Googled for a solution (with no useful results).

Any ideas please as to where the configuration might be - or any other ideas.

(Note: The PCs are in the same WORKGROUP domain.)

Thanks.
Paul

推荐答案

解决方案是关闭简单文件共享"(在资源管理器"中的工具" |文件夹选项"-视图"选项卡上,最后一项,使用简单文件共享(建议使用; P).
The solution was to turn off the Simple File Sharing (in Explorer under Tools | Folder Options - View tab, last item, "Use simple file sharing (recommended" ;P ).


我曾经在2台PC之间使用远程处理(尽管我认为它们不在同一域中),但发生了类似的异常.
我记得,我解决了在初始化TCP Channel时取消激活安全性选项的问题(不记得客户端和服务器端是否都需要它).
我只是查看了MSDN,而这个TCP Channel属性似乎是"IsSecured".

希望对您有所帮助.
I had once a similar exception using remoting between 2 PCs (though they were not on the same domain I think).
As I remember, I solved it unactivating the security option when initializing the TCP Channel (can''t remember if it''s needed both on client and server side).
I just looked over MSDN, and this TCP Channel property seems to be "IsSecured".

Hope it helps.


这篇关于如何配置安全性以摆脱.NET Remoting AuthenticationException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆