Submit a ticketCall us

Quickly Address Software Vulnerabilities
Patch Manager is an intuitive patch management software which extends the capabilities of WSUS and SCCM to not only patch Windows® servers and workstations, and Microsoft® applications, but also other 3rd-party applications which are commonly exploited by hackers. Learn more about our patch management solution.

 

Home > Success Center > Network Performance Monitor (NPM) > ERROR MapService - Unexpected error. SolarWinds.MapStudio.Web.MapRunnerFaultedException: An error occurred while generating map 12c67989-2a15-4514-9460-a006bbc91f86.OrionMap

ERROR MapService - Unexpected error. SolarWinds.MapStudio.Web.MapRunnerFaultedException: An error occurred while generating map 12c67989-2a15-4514-9460-a006bbc91f86.OrionMap

Created by Daniel Polaske, last modified by MindTouch on Jun 23, 2016

Views: 35 Votes: 0 Revisions: 11

Overview

This article describes the issue when trying to access maps, the following error is displayed:

Unexpected error: An error occurred while generating map 82e8089f-fa87-4cbf-a2d2-d7136fb80bb2.OrionMap on web interface

 

This is a similar error message to the following Success Center articles, but is ultimately a different root cause:

https://support.solarwinds.com/Succe...generating_map

https://support.solarwinds.com/Succe...yz123.OrionMap

https://support.solarwinds.com/Succe...path_is_denied

 

 

The key point of difference is the error below, which is found in full in the OrionWeb.log file:

"The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."

 

The following is the full error:

2016-03-14 10:20:19,313 [6] ERROR MapService - Unexpected error. SolarWinds.MapStudio.Web.MapRunnerFaultedException: An error occurred while generating map 12c67989-2a15-4514-9460-a006bbc91f86.OrionMap ---> System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)

   at System.IO.Path.GetDirectoryName(String path)

   at SolarWinds.MapEngine.FileWorker.GetFullFilePath(String mapName, MapStudioFileType fileType, ModuleType moduleType, String serverAddress)

   at SolarWinds.MapEngine.FileWorker.WriteFile(String fileName, MapStudioFileType fileType, Byte[] content, DateTime timeStamp, String targetPath, ModuleType moduleType, String serverAddress)

   at SolarWinds.MapEngine.FileSynchronization.StoreNewFiles(ICollection`1 filesToSynchronize, Action`1 progressReportCallback)

   at SolarWinds.MapEngine.FileSynchronization.SynchronizeFiles(MapStudioFileType fileType, Boolean doUpdate, Action`1 progressReportCallback)

   at SolarWinds.MapEngine.MapSynchronization.SynchronizeImportedAndUserGraphics(Boolean doUpdate, Action`1 progressReportCallback)

   at SolarWinds.MapEngine.MapSynchronization.GetSingleMapAndSubmap(SolarWindsIdentification swId, Boolean synchronizeUserGraphics)

   at SolarWinds.MapEngine.Engine.GetSingleMapAndAddTopEntities(SolarWindsIdentification swId, Boolean synchronizeUserGraphics)

   at SolarWinds.MapEngine.OrionEngine.GetMapWithoutLimitation(SolarWindsIdentification swId, Boolean disableViewLimitation, Boolean synchronizeUserGraphics)

   at MapImport.GetMapNetObject(CreateMapParameters parameters, StopwatchHelper sw, IEngine engine)

   at MapImport.SaveMap(CreateMapParameters parameters)

   at SolarWinds.MapStudio.Web.MapRunner.ImportThreadProc(Object obj)

   --- End of inner exception stack trace ---

   at SolarWinds.MapStudio.Web.MapRunner.CreateMapTask.ThrowStateException()

   at SolarWinds.MapStudio.Web.MapRunner.Execute(CreateMapParameters parameters)

   at MapService.CreateMap(CreateMapParameters parameters)

   at MapService.GetMap(String sessionId)

2016-03-14 10:20:19,313 [Import 12c67989-2a15-4514-9460-a006bbc91f86.OrionMap] ERROR MapRunner - CreateMapTask{ID=12c67989-2a15-4514-9460-a006bbc91f86.OrionMap,State=Faulted,Exception=PathTooLongException:"The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."}

Environment

All Orion environments

Cause 

This is caused by the filename of a background image within the map being too long (the fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters).

Resolution

These images can be found in a user-specified location or in C:\Program Files (x86)\SolarWinds\Orion\Network Atlas\ (usually the \Maps\) folder.  Either way, either the filename or full path of the location of this file will need to be trimmed to a shorted length to fix this issue.

 

Last modified
22:17, 22 Jun 2016

Tags

Classifications

Public