- Joined
- Jan 22, 2015
- Messages
- 61
- Reaction score
- 6
Hi,
this forum was huge help for me so I'm counting that this little question will be easy for you
I'm using dll written in c# to get some complex xml to get some dates from it. It works.
BUT when TTS is reading them it ignores local settings of server and puts English months and days names.
In error log I found this:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Globalization.CultureNotFoundException: Culture is not supported.
Parameter name: name
pl_PL is an invalid culture identifier.
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at ClassLibrary1.WebServiceClient.PobierzDane(String ApiKey, Int32 Wydzial, String Repertorium, Int32 Numer, Int32 Rok)
--- End of inner exception stack trace ---
So, my question: is there any workaround for VAD not accepting systems culture settings? Or maybe I'm missing something?
(The same code not executed by VAD and printing result to a text file is working great)
Best Regards.
this forum was huge help for me so I'm counting that this little question will be easy for you
I'm using dll written in c# to get some complex xml to get some dates from it. It works.
BUT when TTS is reading them it ignores local settings of server and puts English months and days names.
In error log I found this:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Globalization.CultureNotFoundException: Culture is not supported.
Parameter name: name
pl_PL is an invalid culture identifier.
at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
at ClassLibrary1.WebServiceClient.PobierzDane(String ApiKey, Int32 Wydzial, String Repertorium, Int32 Numer, Int32 Rok)
--- End of inner exception stack trace ---
So, my question: is there any workaround for VAD not accepting systems culture settings? Or maybe I'm missing something?
(The same code not executed by VAD and printing result to a text file is working great)
Best Regards.