Environment
Situation
==============
Add a workload and click on it. the webpage will display the following error:
Server Error in '/forge' Application.'virtualNetworks' has a SelectedValue which is invalid because it does not exist in the list of items.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Parameter name: value
Exception Details: System.ArgumentOutOfRangeException: 'virtualNetworks' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Resolution
<defaultsConfiguration>
<add key="protectionDefaults.FailoverNetwork"value="Production Network" />
<add key="protectionDefaults.TestFailoverNetwork"value="Internal Test Network" />
<add key="protectionDefaults.PrepareForFailoverNetwork"value="Internal Test Network" />
<add key="protectionDefaults.ReplicationNetwork"value="Replication Network" />
<add key="protectionDefaults.WorkloadInventoryNetwork"value="Production Network" />
</defaultsConfiguration>
The 'value' parameter (in bold letters) in the above entries must point to an existing virtual network which was created to replace the default network.