System.NotSupportedException with DeriveParameters and ASP.net
--------------------------------------------------------------
Key: DNET-358
URL: http://tracker.firebirdsql.org/browse/DNET-358
Project: .NET Data provider
Issue Type: Bug
Components: ADO.NET Provider
Affects Versions: 2.6, 2.5.2
Environment: asp.net 3.5
Firebird 2.5
Firebird.net 2.5.2
Reporter: Olivier M
Assignee: Jiri Cincura
When using DeriveParameters Method in ASP.net with the following line in the
web.config :
"<globalization uiCulture="auto" culture="auto" />"
a System.NotSupportedException is raised :
"Culture 'xx' is a neutral culture and cannot be used for formatting and
parsing".
I think this is due to using "CultureInfo.CurrentUICulture" instead of
"CultureInfo.CurrentCulture" when formatting strings in DeriveParameters.
For example, Asp.net with globalization...="auto" sets
CultureInfo.CurrentUICulture="fr" and CultureInfo.CurrentCulture="fr-FR".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider