Strange Internet Deployment Issue

I get a strange problem connecting to the server.

Server logs are read:

2013-05-21 11:18:24 [IP ADDRESS] HEAD /msdeploy.axd site=[SITE NAME] 8172 administrator [MY IP] - 401 1 1326 214 

I use an administrator account, so I do not understand why it does not allow access!

I am using VS2012 and Web Deploy 3.0 on a 2008R2 x86 server.


UPDATE

When using the msdeploy.exe -verb:dump -source:iisApp=<sitename>,username=administrator,password=<urpassword>,authtype=β€Œβ€‹basic,computername=https://<yourserver>:8172/msdeploy.axd?Site=<sitename> -authtype=basic , as suggested by @ShaikhOwais, I get the following error:

Error code: ERROR_USER_UNAUTHORIZED Additional information: connected to a remote computer ("[COMPUTER NAME]") using the web management service, but is not allowed. Make sure that you are using the correct username and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site.

  • "Make sure you use the correct username and password" - yep.
  • "that the site you are connecting to exists" - yep
  • "credentials represent a user who has permissions to access the site" - this is the administrator ...
+4
source share
2 answers

As indicated in the comment above, you need to determine the username with the domain to which your administrator belongs.

So your script should be:

  msdeploy.exe -verb:dump -source:iisApp=<sitename>,username= <DOMAIN>\administrator,password=<urpassword>,authtype=β€Œβ€‹ basic,computername=https://<yourserver>:8172/msdeploy.axd?Site=<sitename> -authtype=basic 
+2
source

Happened to me and it was a time permit permissions to access resources

Can you try "net use \ server \ c $ \ path \ to \ fodler" and see if you can access this directory?

If this does not help, you can answer - did you first get into this error? could you deploy the web server on the same server earlier or are you doing the first time with this server?

0
source

Source: https://habr.com/ru/post/1481936/


All Articles