ERROR_USER_UNAUTHORIZED when deploy to IIS 7.5 when using IIS manager user

别说谁变了你拦得住时间么 提交于 2019-12-10 22:57:27

问题


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

回答1:


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.



来源:https://stackoverflow.com/questions/7750800/error-user-unauthorized-when-deploy-to-iis-7-5-when-using-iis-manager-user

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!