开发者

ERROR_USER_UNAUTHORIZED when deploy to IIS 7.5 when using IIS manager user

开发者 https://www.devze.com 2023-04-12 12:54 出处:网络
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'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 i开发者_Python百科s 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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号