You cannot deploy a solution if you are logged on to a SharePoint 2010 server as a different user

This article has been archived. It is offered "as is" and will no longer be updated.
Consider the following scenario:
  • You use a user account to log on to a computer.
  • You use a different user account to log on to a Microsoft SharePoint 2010 server.
  • You try to take offline a simple solution to Microsoft Outlook 2010 or to Microsoft SharePoint Workspace 2010.
When you do this, the deployment fails. Additionally, you receive the following error message:
From: http://Server_name/Lists/PC/ClientSolution/GUID.vsto
************** Exception Text **************
System.Deployment.Application.DeploymentDownloadException: Downloading http://Server_name/Lists/PC/ClientSolution/GUID.vsto did not succeed. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
---- End of inner exception stack trace ---
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)
at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
This issue occurs when the user account that you use to log on to the SharePoint 2010 server differs from the user account that you use to log on to the client computer.
To work around this issue, you must use the same user account to log on to both the client computer and the SharePoint 2010 server.
O2010KBGA+30 BCS2010 OL2010 Groove2010 MOSS2010

Article ID: 983088 - Last Review: 12/12/2015 04:33:16 - Revision: 2.2

Microsoft Outlook 2010, Microsoft SharePoint Server 2010, Microsoft SharePoint Workspace 2010

  • kbnosurvey kbarchive kbprb kbsurveynew kbpubtypekc kbtshoot KB983088