CurrentCulture incorrectly defaulting to en-US in ASP.net

后端 未结 9 1251
执笔经年
执笔经年 2020-12-08 14:37

I have just migrated around 100 ASP.net sites from IIS 6 on Windows Sever 2003 to IIS 7 on Windows 2008. I\'ve just noticed that various pieces of code that use things like

9条回答
  •  悲哀的现实
    2020-12-08 14:53

    I've spent hours trying to find a solution for my case. I am working under Win10 (English version), but with Russian regional settings. Nevertheless, I got "en-US" culture in my app, hosted on IIS with ApplicationPoolIdentity. That solved the problem:

    IIS -> Application Pools -> Advanced Settings -> Change "Load User Profile" to False

提交回复
热议问题