Solution For This:
In Web Config add this:
<system.web>
<globalization culture="en-US" />
</system.web>
In Global.asax.cs add this:
protected void Application_BeginRequest()
{
CultureInfo info = new CultureInfo(System.Threading.Thread.CurrentThread.CurrentCulture.ToString());
info.DateTimeFormat.ShortDatePattern = "dd.MM.yyyy";
System.Threading.Thread.CurrentThread.CurrentCulture = info;
}
Refer this link:
http://coderskey.blogspot.in/2014/06/the-value-27062014-is-not-valid-for.html