今天写一个读卡器程序,操作AD时的一个Exception:The authentication mechanism is unknown

winform程序一切正常,改称windows service时出现错误The authentication mechanism is unknown
右键服务----属性-----Log On----This Account---输入帐号密码,解决
原文地址:https://www.cnblogs.com/yesun/p/1059676.html