ERROR "TIBCO Spotfire Portable\Modules\XXXXXXXXXXXXXXXXXXXX' is denied. (HRESULT: 80070005)" when launching Spotfire Portable Analyst

ERROR "TIBCO Spotfire Portable\Modules\XXXXXXXXXXXXXXXXXXXX' is denied. (HRESULT: 80070005)" when launching Spotfire Portable Analyst

book

Article ID: KB0075467

calendar_today

Updated On:

Products Versions
Spotfire Analyst All Supported Versions

Description

Spotfire analyst (portable) when launched for the first time may ERROR out with the below:
---------------------------------------------
Error message: The installation failed due to an unknown problem.
See details for more information.

IOException at mscorlib:
Access to the path 'C:\Users\XXXXXXX\Downloads\Products\TIBCO Spotfire Portable\Modules\5ec97900-27f1-49ed-ae9c-823b2f406eba' is denied. (HRESULT: 80070005)

Stack Trace:
at System.IO.Directory.InternalMove(String sourceDirName, String destDirName, Boolean checkHost)
at Spotfire.Dxp.SetupLauncher.IOUtilities.MoveDirectory(String sourceDirName, String targetDirName)
at Spotfire.Dxp.SetupLauncher.CabInstaller.PerformInstallation(IProgressable progressable, String sourceFolderPath, String targetFolderPath, IEnumerable`1 moduleFolders, String modulesInUsePath, String starterExePath, LogDelegate log)
at Spotfire.Dxp.SetupLauncher.Program.PerformInstallation()
at Spotfire.Dxp.SetupLauncher.InstallationProgressForm.<InstallationProgressForm_Shown>b__12_0(Object <p0>)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
---------------------------------------------

The issue is generally seen if the setup/installer has been downloaded to a user(s) profile. This path "C:\users\downloads" happens to be the default download path on most of the Windows machines.
When running the Spotfire analyst from this path may error out as there are Windows access restrictions for creation of child folders within.
In the above error it states that the user doesn't have permissions to create/extract the "Modules\5ec97900-27f1-49ed-ae9c-823b2f406eba" and sees an "access denied" message.

Issue/Introduction

How to resolve ERROR "TIBCO Spotfire Portable\Modules\XXXXXXXXXXXXXXXXXXXX' is denied. (HRESULT: 80070005)" when launching Spotfire Portable Analyst

Environment

All supported operating systems

Resolution

- Move the Spotfire portable analyst *.zip file to another location (some where on the "C:\drive". It can be a TEST folder as well) and then launch the "Spotfire.Dxp.exe".
OR
- Explicitly provide modify access to the Windows user account on the path where you see the "access denied".

NOTE:
Checking Windows folder specific permissions is out of Spotfire Support scope. It is recommended to loop/involve a Windows expert/Local IT team for assistance.