使用 IIS 管理员用户部署到 IIS 7.5 时出现 ERROR_USER_UNAUTHORIZED
我正在尝试从 teamcity 服务器部署到我的 iis 服务器,但当我使用 IIS 中设置的 IIS 管理器用户时,我获得了未经授权的权限。如果我使用 Windows 帐户,它就可以正常工作。我错过了什么吗?
我认为在 ISS 中创建 IIS 管理器用户就足够了,还是必须将该用户添加到我尝试部署到的域或服务器?
在管理服务委托中,我添加了两条规则,它可能会合并为一条。第一条规则适用于 contentPath 和 iisApp,第二条规则适用于 createApp。这两个规则均以管理员用户身份运行。我已添加允许所有用户 (*) 执行该规则。
我是否需要在目标服务器上启用其他内容才能与 IIS 管理器用户一起使用?
我在事件查看器中收到以下消息:
IISWMSVC_AUTHORIZATION_SERVER_NOT_ALLOWED
Only Windows Administrators are allowed to connect using a server connection.
Other users should use the 'Connect To Site or Application' task to be able to connect.
Process:WMSvc
I'm trying to deploy from a teamcity server to my iis server but I get unauthorized when I use an IIS Manager user set up in IIS. If I use a Windows account it works just fine. Am I missing something?
I thought it was enough to create an IIS Manager User in ISS, or do I have to add that user to the domain or server I'm trying to deploy to?
In the Management Service Delegation I have added two rules, it could probably be combined into one. The first rule is for contentPath and iisApp and the second is for createApp. Both rules are run as an administrator user. I have added that all users (*) are allowed to execute the rule.
Is it something else I need to enable on the target server for it to work with IIS Manager Users?
I get the following message in my event viewer:
IISWMSVC_AUTHORIZATION_SERVER_NOT_ALLOWED
Only Windows Administrators are allowed to connect using a server connection.
Other users should use the 'Connect To Site or Application' task to be able to connect.
Process:WMSvc
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我已经寻找答案有一段时间了,但找不到......但是,当然,当我在这里发布问题时,我自己就找到了答案。我的问题的答案是我必须将 IIS 管理器用户添加到我想要部署到的站点。因此,如果我选择了这些站点,然后打开“IIS 管理器权限”并添加了我的用户,那么一切都会按预期开始工作。
Ok, I've been looking for an answer for some time and couldn't find it... but of course I figure it out myself as soon as I post the question here. The answer to my problem was that I have to add the IIS Manager User to the site which I want to deploy to. So if I selected the sites and then opened up the "IIS Manager Permissions" and added my user it all started working just as expected.