Die Kultur de ist neutral. Sie kann nicht als die aktuelle Threadkultur festgelegt werden, da sie nicht zum Formatieren und Analysieren verwendet werden kann
I got this message yesterday, while trying to save changes into entity framework. the whole thing was within an ASHX-Handler and I couldn’t figure out , what the deal was.
Now I found a solutions. Just add the following line at the beginning of your method /codeblock and you are fine:
C#
System.Threading.Thread.CurrentThread.CurrentUICulture =
new System.Globalization.CultureInfo("de-DE");
VB.net
System.Threading.Thread.CurrentThread.CurrentUICulture = _
New System.Globalization.CultureInfo("de-DE")


(2 Bewetungen, Durchschnitt: 3.50 von 5)
