We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

(401) UnauthorizedRSS

6 replies

Last post Sep 01, 2009 07:25 PM by shellenberg

  • (401) Unauthorized

    Feb 03, 2009 10:09 AM|ManuelB|LINK

    Hi, I am trying to make my first deploy to discountlabs. I am issuing the following command: msdeploy -verb:sync -source:iisApp="Default Web Site/SimpleApp" -dest:iisApp=user2484.msdeploylab.discountasp.net,computername=https://msdeploylab.discountasp.net:8172/msdeploy.axd?site=user2484.msdeploylab.discountasp.net,username=user2484,password=xxx I have double checked and the username and password that I am providing are exactly as they were sent to me by mail at registration. Which could be the problem? Thanks, Manuel
  • Re: (401) Unauthorized

    Feb 25, 2009 05:23 AM|djmitic|LINK

    Same problem here.

    I've even directed browser  to https://msdeploylab.discountasp.net:8172/msdeploy.axd (I used IE7)

    IE asks for credentials and refuses to authenticate me.

    Will someone help?

  • Re: (401) Unauthorized

    Feb 28, 2009 07:29 PM|philderbeast|LINK

    Using the info in the account and site details email from discountasp.net with the subject 'DiscountASP.NET Labs - MS Web Deployment Tool Sandbox Account Details', I can browse to my sandbox web site, http://user2510.msdeploylab.discountasp.net/. Can I dump its contents? Let's give that a try ... C:\deploy>"C:\Program Files\IIS\Microsoft Web Deploy\msdeploy.exe" -verb:dump -source:iisapp=user2510.msdeploylab.discountasp.net,computername=https://msdeploylab.discountasp.net:8172/msdeploy.axd?site=user2510.msdeploylab.discountasp.net,username=user2510,password=*** Fatal: Request to remote agent URL 'https://msdeploylab.discountasp.net:8172/msdeploy.axd?site=user2510.msdeploylab.discountasp.net' failed. Fatal: The remote server returned an error: (401) Unauthorized. Fatal count: 1
  • Re: (401) Unauthorized

    Mar 26, 2009 07:05 PM|ninatang|LINK

    Try running the command with ",authtype=basic" after the username/password.

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: (401) Unauthorized

    Apr 02, 2009 07:58 AM|SKT_011|LINK


    I tried the Import Application in IIS 7.0 Manager.


    The package installation failed.

    An error occurred when performing this operation.



    (4/2/2009 4:49:44 AM) Attempted to perform an unauthorized operation.


    bei Microsoft.Web.Deployment.AgentClientProvider.GetResponse(HttpWebRequest request)

    bei Microsoft.Web.Deployment.AgentClientProvider.RemoteDestSync(DeploymentObject sourceObject, DeploymentSyncContext syncContext)

    bei Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable)

    bei Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)

    bei Microsoft.Web.Deployment.DeploymentObject.SyncTo(String provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)

    bei Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentWellKnownProvider provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)

    bei Microsoft.Web.Management.Packaging.InstallProgressWizardPage.OnWorkerDoWork(Object sender, DoWorkEventArgs e)

    bei System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

    bei System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

  • Re: (401) Unauthorized

    Apr 10, 2009 05:28 PM|faith_a|LINK


    What version of MS Deploy are you using? Are you trying to import an app from your hosted site on DiscountASP?



    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: (401) Unauthorized

    Sep 01, 2009 07:25 PM|shellenberg|LINK

    from iis7 cp join to site and not join to server