Quantcast
Viewing all articles
Browse latest Browse all 3509

Web Deploy (401) Unauthorized Error using Visual Studio 2012

I am trying to deploy my web app to a remote server running IIS7. I get an "unauthorized" error when publishing my file. Here are the steps I have taken so far, but none have fixed my issue. If I need to undo any of these please let me know:

Remote Server

  1. Downloaded + installed WDeploy.exe on remote server
  2. Created new application pool
  3. Created new directory under inetpub/wwwroot for my site
  4. Modified the identity of my application pool to use "LocalSystem"
  5. Added myself under IIS Manager Users (on server)
  6. Added myself under IIS Manager Permissions (on sub-site)
  7. Added myself under Authentication (on sub-site) and gave myself "full control" (I was already an admin on the box though)
  8. Modified the Bindings on sub-site to include a Host Name on port 80

Development Laptop

  1. Created a "profile" for Publish Web
  2. Added the connection credentials (Web Deploy; server name; site name; my username; my password; URL)

When I press the "Validate Connection" button in the Publish Web interface it returns a failure to connect. Here is the error message:

Web deployment task failed. (Connected to the remote computer ("xyz") using the Web 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.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.)

Any advice?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>