Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

 

 

 

Home > Success Center > Network Performance Monitor (NPM) > Unable to start Network Atlas after adding images

Unable to start Network Atlas after adding images

Updated November 3, 2016

Overview

This article addresses a specific issue that can be verified by the error below that can occur after corrupt image files are loaded to the database through Network Atlas. You will find the following error generated in the NetworkAtlas.log file:

2016-10-18 13:00:32,135 [Main Window UI thread] FATAL NetworkAtlas - UNHANDLED EXCEPTION CAUGHT ON UI THREAD.
2016-10-18 13:00:32,135 [Main Window UI thread] FATAL NetworkAtlas - Message: An item with the same key has already been added.
2016-10-18 13:00:32,135 [Main Window UI thread] FATAL NetworkAtlas - Data: System.Collections.ListDictionaryInternal
2016-10-18 13:00:32,135 [Main Window UI thread] FATAL NetworkAtlas - TargetSite: Void ThrowArgumentException(System.ExceptionResource)
2016-10-18 13:00:32,135 [Main Window UI thread] FATAL NetworkAtlas - StackTrace:    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at SolarWinds.MapEngine.FileSynchronization.GetFileList(MapStudioFileType fileType)
   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.GetAvailableMaps(Boolean doUpdate, Action`1 progressReportCallback)
   at SolarWinds.MapEngine.Engine.ReadTopEntities(Action`2 progressReportCallback, Int32 viewLimitationId)
   at SolarWinds.MapEngine.Engine.GetTopEntities(Action`2 progressReportCallback)
   at SolarWinds.MapStudio.Gui.MainWindow.ReadTopData(Action`2 progressReportCallback)
   at SolarWinds.MapStudio.Gui.MainWindow.synchronizeBackgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

Environment

NPM 10 and later

Cause 

This occurs when the image is corrupted and loaded to the database for storage. When Network Atlas attempts to load the files from the database, it fails to do so and faults on the load.

Resolution

  1. Locate the entries in the table MapStudioFiles in the database and remove them through a query.  You can determine which files they are either by the FileName column or by the TimeStamp of when they were added.
  2. After running the query to clear the entries, remove the corrupt files from the server itself.
  3. Start Network Atlas to confirm that the files have been removed.

 

 

 

Last modified
20:36, 22 Mar 2017

Tags

Classifications

Public