You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
KeyNotFoundException when setting ApplicationName on NpgsqlConnectionStringBuilder #165
Throws exception with: The given key was not present in the dictionary.
stack trace:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Npgsql.NpgsqlConnectionStringBuilder.SetValue(String keyword, Keywords key, Object value)
at Npgsql.NpgsqlConnectionStringBuilder.set_ApplicationName(String value)
looking at the static NpgsqlConnectionStringBuilder() it seems that the Keywords.ApplicationName enum value is omitted from being added to valueDescriptions.
Fix is not pushed on nuget package, could you please make an update ?
Thanks,
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/165#issuecomment-38828639
.
Activity
Fix PR npgsql#165.
franciscojunior commentedon Feb 22, 2014
Hi @pmuessig !
This is now fixed in master. Please give it a try and let me know if you still have this issue.
Fix PR #165.
kYann commentedon Mar 27, 2014
Hi @franciscojunior ,
Fix is not pushed on nuget package, could you please make an update ?
Thanks,
franciscojunior commentedon Mar 27, 2014
Hi, Yann!
I'm on it! I think I'll also have to add add a fix or revert a file version
because of #193
I hope to get it out tonight.
Thanks for your comprehension.
Em 27/03/2014 13:41, "Yann" [email protected] escreveu:
kYann commentedon Mar 28, 2014
Thanks for the package update !
franciscojunior commentedon Mar 28, 2014
You are welcome! I'm glad to know it's working for you now.
andrew-james-heard commentedon Jun 17, 2014
I still get this exception. I built the source from https://github.com/npgsql/Npgsql/archive/v2.1.1.zip & am using the VS2010 solution. As described new NpgsqlConnection("ApplicationName=anything") throws the exception still.
franciscojunior commentedon Jun 17, 2014
This fix was applied in the Npgsql 2.1.2 version. Please, get the latest version 2.1.3 and give it a try.
andrew-james-heard commentedon Jun 17, 2014
Hi Francisco,
Thanks for the reply. The (latest) ZIPped source from the web site
yesterday was version 2.1.1.
cheers
Andrew
On 17 June 2014 22:45, Francisco Figueiredo Jr. [email protected]
wrote:
franciscojunior commentedon Jun 18, 2014
You are welcome!
Thanks for the heads up! I'll fix it in the website.