Applications Systems
The given key was not present in the dictionary when trying to edit a storage object in SRM Orion
he following error appears when you open the Manager Providers page and you cannot make any changes to Storage Providers as a result of the said error: The given key was not present in the dictionary Full error message: Time: 09/06/2016 17:15:11.7462 Server: Microsoft-IIS/8.5 Pipeline: Integrated User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Error Instance: 5605e0ee20994f8aa84e1dc1c3c2b52d User: DOMAIN\username URL: h
First published date
Last published date
Overview
eThe following error appears when you open the Manager Providers page and you cannot make any changes to Storage Providers as a result of the said error:
The given key was not present in the dictionary
Full error message:
Time: 09/06/2016 17:15:11.7462
Server: Microsoft-IIS/8.5
Pipeline: Integrated
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Error Instance: 5605e0ee20994f8aa84e1dc1c3c2b52d
User: DOMAIN\username
URL: https://orion:443/Orion/SRM/Admin/Ed...plY3Q9U01QOjE=
Referrer: https://orion:443/Orion/SRM/Admin/Ed...plY3Q9U01QOjE=
Message: The given key was not present in the dictionary.
ErrorSite: mscorlib.Dictionary`2.get_Item
ErrorType: System.Collections.Generic.KeyNotFoundException
Product section
Cause
EngineID column in the SRM_Providers or SRM_StorageArrays table.Resolution
- Create a backup of your database.
- Open Database Manager on the Orion server.
- Click Add default database.
- Find the following table:
SRM_Providers
- Right-click table, select Query table.
- Execute the default query and click Enable editing.
- Update the engine number under the following column:
EngineID
You can find available engine numbers in Engines table. - Execute the following statement to see if changes has been saved:
select * from allengines
- Do the same for table:
SRM_StorageArrays