Network Management

Network Atlas crashed with error "network atlas has encountered a problem and needs to close"

When customer tries to Customize status icons on Network Atlas maps, the network atlas crashes with error "network atlas has encountered a problem and needs to close"

First published date

5/27/2021 6:10 AM

Last published date

10/7/2022 3:39 AM

Overview

Examine the log file at
C:\Documents and Settings\All Users\Application\Data\SolarWinds\NetworkAtlas\NetworkAtlas.log
Or
 C:\ProgramData\SolarWinds\NetworkAtlas\NetworkAtlas.log.


 

Product section

Network Performance Monitor

Cause

Found the below error messages in logs:

[Main Window UI thread] FATAL NetworkAtlas - UNHANDLED EXCEPTION CAUGHT ON UI THREAD.
[Main Window UI thread] FATAL NetworkAtlas - Message: Exception has been thrown by the target of an invocation.
[Main Window UI thread] FATAL NetworkAtlas - Data: System.Collections.ListDictionaryInternal
[Main Window UI thread] FATAL NetworkAtlas - InnerException: System.IO.InvalidDataException: File C:\Users\<user>\AppData\Roaming\SolarWinds\NetworkAtlas\Maps\Orion\localhost\NetObjects\Imported\Thumbs.db is not a valid icon. ---> System.ArgumentException: Argument 'picture' must be a picture that can be used as a Icon.
   at System.Drawing.Icon.Initialize(Int32 width, Int32 height)


WARN  MapEngine - Cannot find icon image on path: Maps\Graphs\Graphs.gif
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\SolarWinds\Orion\Network Atlas\Maps\Graphs\Graphs.gif'.

   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)
   at SolarWinds.MapEngine.ImageProvider.LoadImageFromFile(String fileName)
   at SolarWinds.MapEngine.ImageProvider.GetIconImage(String fullPath, ImageType imageType, String entityName, String fileName)

Resolution

1. Remove the Thumbs.db file from the location (this could be a hidden file)
2. Ensure only picture files available in the location

Location:
C:\Users\<user>\AppData\Roaming\SolarWinds\NetworkAtlas\Maps\Orion\localhost\NetObjects\Imported\



Resolution 2:
Deleting the affected map manually.


The Table name is "MapStudioFiles" the remove the row below in FileId FileName column:

FileId FileName
24d9e240-2fb8-4cde-be45-8f16643f2875 KBL Mobile Network.OrionMap (this may vary depending on the error found in the logs)

Resolution 3
a. Navigate to this path C:\Program Files (x86)\SolarWinds\Orion\Network Atlas
Give Everyone Account Full Access on this Folder

b. Navigate to C:\Users\Administrator\AppData\Local\Temp
Give NetworkService Full Access to this folder

c. Launch Orion permission checker and fix the permission issue
Navigate to E:\Program Files (x86)\SolarWinds\Orion
Look for OrionPermissionChecker.exe
Hit Check and Repair