SAP Knowledge Base Article - Public

3244216 - System.Net.WebException: Could not find a part of the path C:\...\SapExcelAddIn.vsto

Symptom

When installing Analysis for Office through Microsoft System Center Configuration Manager (SCCM) a popup appears with an error: 
System.Net.WebException: Could not find a part of the path 'C:\Program Files (x86)\SAP BusinessObjects\Office AddIn\SapExcelAddIn.vsto

The following entries can be found in the traces:

 Name: From: file:///C:/Program Files (x86)/SAP BusinessObjects/Office AddIn/SapExcelAddIn.vsto
************** Exception Text **************System.Deployment.Application.DeploymentDownloadException: Downloading file:///C:/Program Files (x86)/SAP BusinessObjects/Office AddIn/SapExcelAddIn.vsto did not succeed. ---> System.Net.WebException: Could not find a part of the path 'C:\Program Files (x86)\SAP BusinessObjects\Office AddIn\SapExcelAddIn.vsto'. ---> System.Net.WebException: Could not find a part of the path 'C:\Program Files (x86)\SAP BusinessObjects\Office AddIn\SapExcelAddIn.vsto'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\SAP BusinessObjects\Office AddIn\SapExcelAddIn.vsto'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async) at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint) --- End of inner exception stack trace --- at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint) at System.Net.FileWebRequest.GetResponseCallback(Object state) --- End of inner exception stack trace --- at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult) 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()

Environment

SAP Analysis for Microsoft Office 2.X

Reproducing the Issue

Download Analysis for Office Installation file and try to install it or use SCCM.

Cause

Missing "Microsoft Visual Studio 2010 Tools for Office Runtime"

Minimum requirements are on PAM page:

PAM Page Link

Resolution

The "Microsoft Visual Studio 2010 Tools for Office Runtime" should be installed before Analysis for Office installation is used.

See Also

 3239647 - Error when starting the add-in
 2205144 - Single Sign On failed when logging is not possible

Keywords

Microsoft System Center Configuration Manager (SCCM), SapExcelAddIn.vsto did not succeed, System.Net.WebException: Could not find a part of the path, SECURITY_ATTRIBUTES, Analysis for Office, AO. , KBA , BI-RA-AO-XLA , Excel Addin , Problem

Product

SAP Analytics Cloud 1.0