我是我的 COM+ 服务器计算机的管理员,我的 COM+ 服务器组件身份设置为“此用户”并在那里提供了我的凭据。我可以从客户端机器调用我的组件。但客户端应用程序将在一段时间后停止工作,错误代码为 8000401a。所以我关闭了我的服务器应用程序,当我重新启动应用程序时,它显示错误用户名和密码不正确,错误代码为 8000401a。当我再次重新输入密码并重新设置密码时。它工作正常。似乎我在身份选项卡中输入的密码正在重置?为什么?
2 回答
The short answer is that your domain account looses its Log on as a batch job privilege on every Active Directory resync and the server app is unable to restart afterwards. Re-entering your credentials restores the privilege only temporarily.
You have to permanently give the Log on as a batch job privilege to your account via the GPO on the domain controler (see Q312497 for the complete description).
I'm not sure why, but I've had a case where the Log on as a service privilege was also required (try that as well if the Log on as a batch job doesn't do it).
如果是“此用户”,则检查以确保用户凭据可以访问文件系统和应用程序所需的任何二进制文件。