Unhandled Exception when Trying to Protect a Workload in Forge with Non-Default Virtual Network

  • 7005993
  • 17-May-2010
  • 26-Apr-2012

Environment

Forge 2.x or Greater

Situation

This article outlines information about an error recieved when trying to protect a workload if default virtual networks are replaced with non-default networks in Forge.
 
Steps to reproduce:
==============


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.
Parameter name: value

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.

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

Edit the following entries in "D:\Program Files\Platespin Forge\Web\Web.config" as explained below and save changes:


<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.