Estimada Comunidad por favor su apoyo, tengo un problema al publicar mi aplicación de C# Raizor MVC Net4.0 / Net4.6.1, en mi PC local con Windows 10 en Español funciona perfectamente, el problema ocurre cuando a mi aplicativo lo publico en un servidor web AWS con Windows Server 2008 R2 en Ingles EEUU - IIS 7.
El mensaje de error en el navegador es el siguiente:
String was not recognized as a valid DateTime.
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.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: String was not recognized as a valid DateTime.
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.
Estuve investigando, y recomiendan cambiar la configuración en web.config:
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" />
Alguien me podría ayudar, qué se debe hacer para solucionar este error?.