I have an ASP.NET Application that I migrated to a new server. I made an effort to, as closely as possible, duplicate the old web servers settings.
However, the application is now throwing up datetime.tryparse exceptions on our calendar controls.
The UICulture is set to en-US
The TryParse() methods are specifying en-US explicitly
The Culture seems to be defaulting itself to en-CA.
The IIS web configs haven't changed (they are default) and the server's language settings are set to en-US.
Is there a place I am failing to check for a culture setting? I had a look at this stack thread but nothing immediately jumped out at me.
Is forcing a culture via the web config the only resolution here? Surely I must have failed to check a spot for an accidental setting of en-CA?