Can CultureInfo.CurrentCulture differ per application pool?

Posted by Peter on Stack Overflow See other posts from Stack Overflow or by Peter
Published on 2010-06-10T15:11:22Z Indexed on 2010/06/10 15:12 UTC
Read the original article Hit count: 338

I'm having trouble with CultureInfo in our ASP.NET web application. Our web application returns a different culture, depending on which application pool it is in.

In application pool A, it is en-US, but in application pool B, it's nl-BE.

I'd like it to be nl-BE, but can't find where to change this (IIS6 by the way). I'm not even sure if this can be changed on an app-pool level.

I'm checking with CultureInfo.CurrentCulture.Name.

Is it possible to change this for an application pool? Or what else could influence this? In the regional settings of the server, we have selected 'Dutch (Belgium)', which translates to nl-BE, I believe. So where could this application pool be getting the en-US?

© Stack Overflow or respective owner

Related posts about web-applications

Related posts about culture