Hi,
I've spent a chunk of time on getting WebDeploy to a patched IIS7 install working with a non admin user. It works fine if user credentials are specified of an admin user but fails with a non admin user. I'd really appreciate some help!
Error Code: ERROR_USER_UNAUTHORIZED
More Information: Connected to the remote computer ("tm-intweb-01") using the We
b Management Service, but could not authorize. Make sure that you are using the
correct user name and password, that the site you are connecting to exists, and
that the credentials represent a user who has permissions to access the site. L
earn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORI
ZED.
Error: The remote server returned an error: (401) Unauthorized.
Error count: 1.
FREB (can provide full log if it helps)...
MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName | WebManagementAuthorization |
---|---|
Notification | 4 |
HttpStatus | 401 |
HttpReason | Unauthorized |
HttpSubStatus | 2 |
ErrorCode | 0 |
ConfigExceptionInfo | |
Notification | AUTHORIZE_REQUEST |
ErrorCode |
- Remote connections are enabled
- Access has been opened up to 'everyone' full control permissions on the site folder structure as a test.
- WebDeploy is running as a local admin user (this overcame an item in the Windows Security log)
- IIS Manager permissions exists for user being specified in deploy command
- Configure Web Deploy publishing has been used to provide access
I appreciate this is always going to be an authentication issue but I can't see the problem and I'm no IIS expert!
Thanks
Matt