Network Management
Given key is not present in the dictionary NPM reference
Editing a node throws an error, "Given key is not present in the dictionary".
First published date
Last published date
Overview
The following error occurs when you try to navigate to the Edit Node page.
Given key is not present in the dictionary.
Additionally, the node is not polling.
Product section
Cause
There is an issue with the credential assignments within the database.
The node is set to either SNMP or WMI polling method and doesn't have the needed credentials entry associated with it in the NodeSettings table.
Resolution
- Open Database Manager.
- Go to the NodeSettings table and locate the entries related to the node that is having the issue.
- Validate that it has the needed credentials for the polling type there.
- If it is WMI, it needs an entry in that table for WMI credentials.
- If it is SNMP, it needs an entry in that table for SNMP credentials.
- If you find that the credentials entry is not in that table for the node, you can do one of two things:
- Delete and re-add the node.
- Change the ObjectSubType in the Nodes view (or the NodesData table) to ICMP. At that point you should be able to hit the edit nodes page and change it back to WMI/SNMP and enter the needed credentials.