KB‎ > ‎

Path Error when Importing from Excel

Ref: 2633369 (201101171011)
Last Edited: January 17th, 2011
 
Symptoms:
 
An error is reported when importing files from Excel.
 
16/01/2011 00:01:03 System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Triaster\Map Store\processlibrary\2 maps for review'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
   at System.IO.DirectoryInfo.GetFiles(String searchPattern, SearchOption searchOption)
   at System.IO.DirectoryInfo.GetFiles(String searchPattern)
   at Triaster.ProcessNavigator.Common.ProcessObjects.clsRefreshVisioVSDFiles.RefreshVisioVSDFiles(String strDirectoryName, Boolean blnPNFilesOnly)
   at Triaster.ProcessNavigator.Common.ProcessObjects.ProcessModel.RefreshVisioVSDFiles(String strDirectoryName, Boolean blnPNFilesOnly)
   at Triaster.ProcessNavigator.AnalystEdition.clsTaskManager.ProcessImportFromVisioTask(Encyclopaedia& encTaskAttributes)
   at Triaster.ProcessNavigator.AnalystEdition.clsTaskManager.ProcessTask(XmlNode& xmlTaskNode)
   at Triaster.ProcessNavigator.AnalystEdition.clsTaskManager.ProcessTaskSet(XmlNode& xmlTaskSetNode)
 
This error is reported in the Progress window or log, but not in the User Actions Required window or log.
 
 
Cause:
 
The multi-map root path doesn't exist.
 
 
Solution:
 
Check that the path reported in the error message is the intended multi-map root. Then address the appropriate scenario.
 
 
 The multi-map root path is as intended
 
This suggests the path doesn't exist. Check this in Windows Explorer.
 
This may be deliberate. For example, this may involve a test set-up that has been renamed or removed. If so, then any scheduled publications of this site should be disabled.
 
 
 The multi-map root path is not as intended
 
If the error is reported in a publication log, then the publication needs to be reconfigured to correct the path.
 
  1. On the publication server, in Windows Explorer, locate the publication's 'publication_tasks.xml' file, typically found in a location such as this:

    "C:\Program Files\Triaster\PublicationServer\Config Files\ProcessLibrary\Sandpit"

    (this example is for the ProcessLibrary Sandpit publication.)
     
  2. Open the 'publication_tasks.xml' file in Notepad.

    (Note: in Windows Server 2008, Notepad may need to be opened 'as administrator' in order to be able to edit the file. It will depend on the file's location; if in 'Program Files', then it will.)
     
  3. Search for the path reported in the error message, and amend such instances.
    It's expected that such paths will be configured in lines such as this:
     
          <Task Type="SETMULTIMAPROOT" NewFolder="c:\triaster\map store\processlibrary\2 maps for review" />
     
  4. Save and close the file.
     
Applies to:
  • Process Navigator 4.6x, 9.x, 10.1
Comments