Re: [Firebird-net-provider] Possible breaking change for bug fix DNET-167

2008-07-08 Thread Jiri Cincura
On Sun, Jun 29, 2008 at 1:05 PM, Jiri Cincura <[EMAIL PROTECTED]> wrote:
> Has anybody here problem with this?

If there will be no objection till friday, I'll commit the fix.

-- 
Jiri {x2} Cincura (CTO x2develop.com)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


[Firebird-net-provider] Issues with Firebird .NET Data Provider 2.1.0

2008-07-08 Thread Zhencai Wang

Hello All,
 
I am the first time here to try to find some answers of strange issues I 
encountered with firebird provider 2.1.0. Please help.
 
1. No matter what error happened on database side(I am using embedded firebird 
2.0.4), such as a read-only database, the error from the data provider is 
always something like below: 
 
11:04:37,099|ERROR|12   |12: Item has already been added. Key in dictionary: 
'2062014589'  Key being added: '2062014589'System.ArgumentException: Item has 
already been added. Key in dictionary: '2062014589'  Key being added: 
'2062014589'   at System.Collections.Hashtable.Insert(Object key, Object 
nvalue, Boolean add)   at System.Collections.Hashtable.Add(Object key, Object 
value)   at System.Collections.Hashtable.SyncHashtable.Add(Object key, Object 
value)   at FirebirdSql.Data.FirebirdClient.FbPoolManager.CreatePool(String 
connectionString)   at FirebirdSql.Data.FirebirdClient.FbConnection.Open()   at 
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] 
datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand 
command, CommandBehavior behavior)   at 
System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 
startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)   
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
2. Firebird data provider 2.1.0 cannot support database file created by 
firebird server 2.1.0. I debugged provider 2.1.0 to get this information since 
the provider always gives above 'Iterm has already been added' error.
 
3. I tried to use embedded firebird 2.1.0, database file created by 2.0.4 and 
firebird provider 2.1.0. After the application UI is closed, the process is 
still there and there is only one orphan thread left. Even Environment.Exit() 
cannot work. But if I use embedded firebird 2.0.4, the application can exit 
properly.
 
_
It’s a talkathon – but it’s not just talk.
http://www.imtalkathon.com/?source=EML_WLH_Talkathon_JustTalk-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


Re: [Firebird-net-provider] Issues with Firebird .NET Data Provider 2.1.0

2008-07-08 Thread Jiri Cincura
On Tue, Jul 8, 2008 at 5:50 PM, Zhencai Wang <[EMAIL PROTECTED]> wrote:
> 1. No matter what error happened on database side(I am using embedded
> firebird 2.0.4), such as a read-only database, the error from the data
> provider is always something like below:
>
> 11:04:37,099|ERROR|12   |12: Item has already been added. Key in dictionary:
> '2062014589'  Key being added: '2062014589'
> System.ArgumentException: Item has already been added. Key in dictionary:
> '2062014589'  Key being added: '2062014589'
>at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean
> add)
>at System.Collections.Hashtable.Add(Object key, Object value)
>at System.Collections.Hashtable.SyncHashtable.Add(Object key, Object
> value)
>at FirebirdSql.Data.FirebirdClient.FbPoolManager.CreatePool(String
> connectionString)
>at FirebirdSql.Data.FirebirdClient.FbConnection.Open()
>at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset,
> DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String
> srcTable, IDbCommand command, CommandBehavior behavior)
>at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32
> startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
>at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)

Can you provide a test case for this?

> 2. Firebird data provider 2.1.0 cannot support database file created by
> firebird server 2.1.0. I debugged provider 2.1.0 to get this information
> since the provider always gives above 'Iterm has already been added' error.

Try the latest sources first.

> 3. I tried to use embedded firebird 2.1.0, database file created by 2.0.4
> and firebird provider 2.1.0. After the application UI is closed, the process
> is still there and there is only one orphan thread left. Even
> Environment.Exit() cannot work. But if I use embedded firebird 2.0.4, the
> application can exit properly.

http://tracker.firebirdsql.org/browse/DNET-156

-- 
Jiri {x2} Cincura (CTO x2develop.com)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


Re: [Firebird-net-provider] Possible breaking change for bug fix DNET-167

2008-07-08 Thread Dean Harding
Jiri Cincura wrote:
> On Sun, Jun 29, 2008 at 1:05 PM, Jiri Cincura <[EMAIL PROTECTED]> wrote:
>> Has anybody here problem with this?
> 
> If there will be no objection till friday, I'll commit the fix.

I definitely think the fix is more important than whatever it might break.

Dean.



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider