Either ErrorMessageString or ErrorMessageResourceName must be set, but not both error using CreditCardAttribute

It’s a known issue in .Net 4.5. Adding “ErrorMessage = null” named parameter should solve this.

Reference:
Reference link is broken now.
http://connect.microsoft.com/VisualStudio/feedback/details/757298/emailaddress-attribute-is-unable-to-load-error-message-from-resource-mvc

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)