Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8968441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:27:15+00:00 2026-06-15T17:27:15+00:00

Setup: Windows server 2008 R2 Web Deployment Tool 2.1 installed and running Management Service

  • 0

Setup:

  1. Windows server 2008 R2
  2. Web Deployment Tool 2.1 installed and running
  3. Management Service installed and running

I can deploy from my development machine using VS 2010 or msbuild, when specify the remote url to be “mydeploymentserver”

When I type in the browser of my development machine http://localhost/MSDEPLOYAGENTSERVICE it asks for basic auth, and when I provide the user and pass, it displays a blank page (I assume that the auth passes, as it does not ask again).

The weird problem is, that when I run msbuild task on the server itself, using remote url “localhost”, it reports this error:

Remote agent (URL http://localhost/MSDEPLOYAGENTSERVICE) could not be contacted. Make sure the remote agent service is installed and started on the target computer.

An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected.

The remote server returned an error: (401) Unauthorized. 

Also, if I start the browser on the deployment server itself, and hit the url http://localhost/MSDEPLOYAGENTSERVICE it reports Internal Server Error 500 without any other information. Note – it does not ask for username/password like it does when I try the url from another machine.

Another weird thing is, that there are no log files for the management service in C:\inetpub\logs\wmsvc, even if the logging is enabled and the service is started.

Any idea what can be wrong? Why it should work from outside, but not for localhost?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:27:15+00:00Added an answer on June 15, 2026 at 5:27 pm

    The Web Deployment Tool seems to have problems with “localhost”. This is a common problem. It is probably some security thing from Microsoft. Use the full name (FQDN) of the server instead of localhost.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background: I have a .NET 4.0 web service running on Windows Server 2008 written
I'm running Windows Server 2008 and I am trying to setup the following: A
I have setup web dav on windows server 2008. It seems to work fine
I installed (basic setup) of RTC 3.0.1 on Windows 2008 server. The setup passed
I am trying to setup SSRS 2008 on Windows Server 2008. It seems to
I just got setup on my first Windows Server 2008 / IIS7.5 server for
I have my asp.net web server setup to use windows authentication. It is authenticating
I'm trying to setup josso on an apache tomcat server running on windows. I've
Here is my setup: Dev: - Windows Server 2008 64-bit - Visual Studio 2008
I use a Windows Web Server 2008 with ruby, PDFCreator, Microsoft Office, and OpenOffice

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.