Unexpected Error when attempting to change workload password

  • 7012553
  • 05-Jun-2013
  • 05-Jun-2013

Environment

PlateSpin Forge
PlateSpin Protect

Situation

After changing the password used in a workload configuration's Replication settings, there is an unexpected error.  Opening the log linked in the bottom-left of the error page shows an error similar to the following:

ERROR PlateSpin.Protection.Web.Global (null) - /Protect/Default.aspx?p=EditWorkloadDetails&ci=8fda5130-d9ff-4c77-9ed6-a17900bcb552
System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder$ctl00$protectionReplicationEdit$replicationConfiguration$ctl01$_passwordText="?M<g4#(q").
   at System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName)
   at System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, String collectionName)
   at System.Web.HttpRequest.get_Form()
   at System.Web.HttpRequest.get_HasForm()
   at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
   at System.Web.UI.Page.DeterminePostBackMode()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\protect\63d810b1\5f34a9b3\App_Web_mxweajwv.0.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Resolution

In order to resolve this issue ensure the password being used does not contain any of the following special characters:

<
>
/

Cause

The special characters listed cause .NET Framework to interpret the password as HTML, thus causing the error seen.