title: ErrorMessageResourceName and ErrorMessage cannot both be set, but I'm only setting one
body: <p>This is the error I'm getting using MVC2:  </p>
  
  <pre><code>Either ErrorMessageString or ErrorMessageResourceName must be set, but not both.
  </code></pre>
  
  <p>It is coming from the [Required] Validation DataAnnotation.</p>
  
  <p>Stack trace:</p>
  
  <pre><code>InvalidOperationException: Either ErrorMessageString or ErrorMessageResourceName must be set, but not both.]
     System.ComponentModel.DataAnnotations.ValidationAttribute.SetupResourceAccessor() +89338
     System.ComponentModel.DataAnnotations.ValidationAttribute.FormatErrorMessage(String name) +38
     System.Web.Mvc.&lt;Validate&gt;d__1.MoveNext() +215
     System.Web.Mvc.&lt;Validate&gt;d__5.MoveNext() +735
     System.Web.Mvc.DefaultModelBinder.OnModelUpdated(ControllerContext controllerContext, ModelBindingContext bindingContext) +424
     System.Web.Mvc.DefaultModelBinder.BindComplexModel(ControllerContext controllerContext, ModelBindingContext bindingContext) +732
     System.Web.Mvc.ControllerActionInvoker.GetParameterValue(ControllerContext controllerContext, ParameterDescriptor parameterDescriptor) +475
     System.Web.Mvc.ControllerActionInvoker.GetParameterValues(ControllerContext controllerContext, ActionDescriptor actionDescriptor) +152
     System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +709
     System.Web.Mvc.Controller.ExecuteCore() +162
     System.Web.Mvc.&lt;&gt;c__DisplayClass8.&lt;BeginProcessRequest&gt;b__4() +58
     System.Web.Mvc.Async.&lt;&gt;c__DisplayClass1.&lt;MakeVoidDelegate&gt;b__0() +20
     System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +453
     System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +371
  </code></pre>
  
  <p>I've boiled my view model down to this(it breaks any time there is a [Required] attribute, works fine without):</p>
  
  <pre><code>[Required(ErrorMessage = "")]
  [DataType(DataType.Text)]
  [DisplayName("Property Name")]
  public string MyProperty { get; set; }
  </code></pre>
  
  <p>My controller returns an empty ViewModel, and the form in the view is completely blank...just a submit button.</p>