Microsoft CRM 4.0 Accelerator eService Problem
Hallo,
grade bei der Installation des eService Accelerators ein Problem gehabt. Es kam ein Fehler wenn man auf My Service Cases geklickt hat, bzw einen neuen Service Case speichern wollte. Es sah in etwa so aus:
“NotSupportedException: Die Kultur de ist neutral. Sie kann nicht als die aktuelle Threadkultur festgelegt werden, da sie nicht zum Formatieren und Analysieren verwendet werden kann.”
Im Ereignisslog wird ein Event mit der ID: 1309 angelegt.
Ursache für das Problem wird wohl sein, das die Deutsche Sprache noch nicht supportet ist und deswegen bestimmte Übersetzungen etc fehlen.
Gelöst haben wir das Problem indem wir einen festen Wert für die Language eingegeben haben. Um das zu tun muss man bei der “DynamicEntityUtility.cs“(zu finden unter: %program files%\Microsoft Dynamics CRM Customer Portal\App_Code\eService, so man die Webseite dort abgelegt hat) in Zeile 360 folgendes:
localResults = results.ToString(CultureInfo.GetCultureInfoByIetfLanguageTag(culture));
gegen das hier tauschen:
localResults = results.ToString(CultureInfo.GetCultureInfoByIetfLanguageTag(“en-US”));
Sicher es ist nicht die feine Englische, aber zum Testen ists erstmal iO.
MfG
Matthias
Januar 22nd, 2009 at 14:58
Hi,
Thanks for the tip, when i do as you did i get this error instead
Compiler Error Message: CS0103: The name ‘en’ does not exist in the current context
Januar 22nd, 2009 at 15:06
Did you use “en” or “en-US” ?
Januar 22nd, 2009 at 15:27
i use en-US
Januar 25th, 2009 at 21:27
OK, then i´ve got no idea :/ Sorry! Try to revert to the orignial file and then add english to your languages at language setting in your Internet Explorer(the language must have a higher priority then your native language!).