Last post Nov 07, 2012 04:34 AM by Haixia Xie - MSFT
Nov 02, 2012 05:18 AM|Damenace|LINK
I have a webservice with an extra class.
In this class some language dependent values needs te be returned.
It all works fine with IIS 6, but not with IIS 7.
Under IIS 7 I always get the english value, despite the value of the culture (and when tracing the culture it is set properly to de-DE or nl-NL).
I have 3 resource files in the project:
Here is my code:
public class BL
public static ResourceManager _ResourceManager
ResourceManager rm = new ResourceManager(typeof(Resource));
rm.IgnoreCase = true;
public static CultureInfo _culture
public static String getLanguageValue(String Value)
return _ResourceManager.GetString(Value, _culture);
Does anyone has any idea how to get this working properly under IIS 7?
Nov 07, 2012 04:34 AM|Haixia Xie - MSFT|LINK
Glad to find the issue was resolved.