title: .NET global culture on a new server
body: <p>We've just moved to a new server and everything's being going well. However earlier I ran into a .NET error when it was trying to convert a string in the format "dd/mm/yyyy" to a date, now I changed the culture setting in the local web.config but we require this to be global.</p>
  
  <p>Where do I change this? I assumed the machine.config but I couldn't find any familiar settings on the older server.</p>
  
  <p>Or am should I be looking at the server side and finding a setting to set the culture on the machine to be en-GB?</p>
  
  <p>== UPDATE ==
  I've changed the regional settings and it still fails unfortunately. Is there a machine.config global setting that may be screwing it up? At the moment it seems to be using invariant and failing with that.</p>
  
  <p>I'm using Windows Server 2008 with IIS7 if that is any help at all.</p>
  
  <p>The string being used is hard coded into the page because it is a closing date for a registration form for a one off site.</p>
  
  <p>The code being ran is as follows:</p>
  
  <pre><code>if (DateTime.Now &gt; Convert.ToDateTime("26/04/2008 12:00"))
  </code></pre>
  
  <p>Very simple and has worked a million times before now, it is only on this new setup that this error occurs.</p>