views:

179

answers:

1

I've got a Polish version of Windows installed and therefore I get exception messages in Polish. Is there a way to make asp.net display error messages in English? Other than installing English version of Windows.

+2  A: 

Try adding the following to the system.web section of your web.config file:

<globalization uiCulture="en-US" />

This should work unless:

  • you have changed the uiCulture explicitly elsewhere (e.g. multilingual web apps may change the uiCulture for each request)

  • the error you are getting occurs before the web.config file is processed.

Joe