iis - msdeploy build with TeamCity - ERROR_USER_NOT_ADMIN -
i've got 2012r2 continuous integration server teamcity installed on , webdeploy 3.5. i'm trying deploy build site hosted on server2012r2 using iis 8.5 (it has web deploy 3.5 installed) , getting error message:
error code: error_user_not_admin [13:12:26][step 3/3] more information: connected 'myiisserver' using web deployment agent service, not authorize. make sure administrator on 'myiisserver'. learn more at: http://go.microsoft.com/fwlink/?linkid=221672#error_user_not_admin. [13:12:26][step 3/3] error: remote server returned error: (401) unauthorized.
as can see error message can connect server can't authenticate credentials i'm specifying. command using:
msdeploy -source:package='%packagefile%' -dest:auto,computername='http://%webserver%/msdeployagentservice',username="myiisserver\blibli",password="password",authtype="basic",includeacls='false' -verb:sync -disablelink:apppoolextension -disablelink:contentextension -disablelink:certificateextension -setparamfile:"%paramfile%" -setparam:"iis web application name"="%iissitename%" -enablerule:donotdelete
the username i'm using admin on both machines , i'm using specifying right password.
could please throw light @ guys? have lost 3 hours trying sort out issue...
many thanks
i sorted issue removing authtype="basic" option out of command.
hope helps else in future.
Comments
Post a Comment