You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
(55) |
Dec
(36) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(38) |
Feb
(108) |
Mar
(79) |
Apr
(95) |
May
(64) |
Jun
(130) |
Jul
(146) |
Aug
(121) |
Sep
(96) |
Oct
(149) |
Nov
(161) |
Dec
(113) |
2004 |
Jan
(113) |
Feb
(163) |
Mar
(248) |
Apr
(132) |
May
(157) |
Jun
(160) |
Jul
(236) |
Aug
(284) |
Sep
(293) |
Oct
(277) |
Nov
(257) |
Dec
(356) |
2005 |
Jan
(203) |
Feb
(190) |
Mar
(220) |
Apr
(165) |
May
(124) |
Jun
(160) |
Jul
(190) |
Aug
(142) |
Sep
(152) |
Oct
(189) |
Nov
(187) |
Dec
(159) |
2006 |
Jan
(170) |
Feb
(151) |
Mar
(212) |
Apr
(262) |
May
(226) |
Jun
(196) |
Jul
(223) |
Aug
(165) |
Sep
(163) |
Oct
(348) |
Nov
(225) |
Dec
(141) |
2007 |
Jan
(261) |
Feb
(161) |
Mar
(222) |
Apr
(193) |
May
(121) |
Jun
(157) |
Jul
(151) |
Aug
(159) |
Sep
(61) |
Oct
(123) |
Nov
(172) |
Dec
(96) |
2008 |
Jan
(104) |
Feb
(138) |
Mar
(131) |
Apr
(131) |
May
(74) |
Jun
(107) |
Jul
(89) |
Aug
(89) |
Sep
(172) |
Oct
(158) |
Nov
(119) |
Dec
(86) |
2009 |
Jan
(52) |
Feb
(84) |
Mar
(78) |
Apr
(83) |
May
(54) |
Jun
(79) |
Jul
(60) |
Aug
(62) |
Sep
(50) |
Oct
(147) |
Nov
(50) |
Dec
(70) |
2010 |
Jan
(135) |
Feb
(113) |
Mar
(74) |
Apr
(93) |
May
(35) |
Jun
(71) |
Jul
(33) |
Aug
(110) |
Sep
(47) |
Oct
(18) |
Nov
(61) |
Dec
(34) |
2011 |
Jan
(46) |
Feb
(47) |
Mar
(25) |
Apr
(24) |
May
(21) |
Jun
(22) |
Jul
(20) |
Aug
(51) |
Sep
(31) |
Oct
(42) |
Nov
(22) |
Dec
(22) |
2012 |
Jan
(31) |
Feb
(19) |
Mar
(25) |
Apr
(55) |
May
(16) |
Jun
(28) |
Jul
(33) |
Aug
(25) |
Sep
(32) |
Oct
(25) |
Nov
(52) |
Dec
(35) |
2013 |
Jan
(43) |
Feb
(18) |
Mar
(36) |
Apr
(45) |
May
(22) |
Jun
(13) |
Jul
(31) |
Aug
(24) |
Sep
(19) |
Oct
(59) |
Nov
(47) |
Dec
(25) |
2014 |
Jan
(27) |
Feb
(15) |
Mar
(38) |
Apr
(10) |
May
(15) |
Jun
(36) |
Jul
(24) |
Aug
(28) |
Sep
(16) |
Oct
(6) |
Nov
(44) |
Dec
(40) |
2015 |
Jan
(52) |
Feb
(22) |
Mar
(13) |
Apr
(17) |
May
(22) |
Jun
(36) |
Jul
(18) |
Aug
(41) |
Sep
(71) |
Oct
(60) |
Nov
(49) |
Dec
(43) |
2016 |
Jan
(60) |
Feb
(13) |
Mar
(21) |
Apr
(28) |
May
(23) |
Jun
(39) |
Jul
(17) |
Aug
(37) |
Sep
(33) |
Oct
(15) |
Nov
(22) |
Dec
(20) |
2017 |
Jan
(27) |
Feb
(40) |
Mar
(48) |
Apr
(19) |
May
(29) |
Jun
(2) |
Jul
(19) |
Aug
(36) |
Sep
(18) |
Oct
(10) |
Nov
(11) |
Dec
(5) |
2018 |
Jan
(5) |
Feb
(4) |
Mar
(5) |
Apr
(3) |
May
(4) |
Jun
(17) |
Jul
(7) |
Aug
(7) |
Sep
(12) |
Oct
(8) |
Nov
(2) |
Dec
|
2019 |
Jan
(8) |
Feb
(5) |
Mar
(3) |
Apr
(5) |
May
(3) |
Jun
(2) |
Jul
(8) |
Aug
(7) |
Sep
(3) |
Oct
(12) |
Nov
(7) |
Dec
(1) |
2020 |
Jan
(8) |
Feb
(3) |
Mar
(7) |
Apr
(1) |
May
(2) |
Jun
(1) |
Jul
(3) |
Aug
(25) |
Sep
(5) |
Oct
(3) |
Nov
(7) |
Dec
(16) |
2021 |
Jan
(11) |
Feb
(10) |
Mar
(16) |
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Kjell R. <kje...@ma...> - 2018-09-19 07:54:56
|
Den 2018-09-19 kl. 09:35, skrev Mark Rotteveel: > Note that your sending this to the old firebird-net-provider mailing > list (on source forge) not to the new one (on Google Groups). > > On 2018-09-18 20:43, Kjell Rilbe wrote: >> In firebird-devel, Mark Rotteveel pointed out that the .NET provider >> seems to use Encoding.Default for TPB, which is not a good choice, >> considering it's system dependent. I assume TPB want a specific >> encoding, regardless of client platform. >> >> Please consider replacing with Encoding.UTF8, as indicated in the same >> firebird-devel thread, for all strings in TPB. > > It is not that simple: for Firebird 2.5 and earlier, using UTF8 for > strings in the TPB is incorrect unless the connection character set is > UTF8. Alright, but the most important point is to never use Ecoding.Default directly or indirectly (e.g. via string.ToUpper), because it's platform dependent and may turn out right sometimes, but sometimes not. Use well defined encodings everywhere. Regards, Kjell |
From: Mark R. <ma...@la...> - 2018-09-19 07:35:20
|
Note that your sending this to the old firebird-net-provider mailing list (on source forge) not to the new one (on Google Groups). On 2018-09-18 20:43, Kjell Rilbe wrote: > In firebird-devel, Mark Rotteveel pointed out that the .NET provider > seems to use Encoding.Default for TPB, which is not a good choice, > considering it's system dependent. I assume TPB want a specific > encoding, regardless of client platform. > > Please consider replacing with Encoding.UTF8, as indicated in the same > firebird-devel thread, for all strings in TPB. It is not that simple: for Firebird 2.5 and earlier, using UTF8 for strings in the TPB is incorrect unless the connection character set is UTF8. Mark |
From: Kjell R. <kje...@ma...> - 2018-09-18 18:58:15
|
Den 2018-09-18 kl. 09:00, skrev Kjell Rilbe: > Hi, > > I've been using Firebird since a long time, using quoted identifiers > with Swedish characters åäö in them. I am now at version 3.0.3 (on > Windows Server 2016, 64 bit). > > Now I tried this code in C# using FirebirClient 6.3.0.0: > > /*-----*/ > Dictionary<string, FbTransactionBehavior> locks = new > Dictionary<string, FbTransactionBehavior>() { > { "KörningInstans", FbTransactionBehavior.Protected | > FbTransactionBehavior.LockWrite }, > { "Körning", FbTransactionBehavior.Protected | > FbTransactionBehavior.LockWrite } > }; > FbTransaction trans = connection.BeginTransaction(new > FbTransactionOptions() { > LockTables = locks, > TransactionBehavior = FbTransactionBehavior.Consistency | > FbTransactionBehavior.Write > }); > /*-----*/ > > The BeginTransaction call fails with an exception "arithmetic > exception, numeric overflow, or string truncation > Cannot transliterate character between character sets". Error code in > the exception is 335544321. SQLSTATE 22000. It contains 3 errors: > 1. type 1, error code 335544321, no message. > 2. type 1, error code 335544565, no message. > 3. type 0, error code 335544321, message "arithmetic exception, > numeric overflow, or string truncation\r\nCannot transliterate > character between character sets". > > The database is created like this in isql: > create database 'KorningarDev' user DEV password '***' page_size 4096 > set names 'UTF8' default character set UTF8 collation UNICODE; > > And the connection string looks like this: > Server=xxx.xxx.xxx.xxx;Port=3050;Database=KorningarDev;Charset=UTF8;User=DEV;Password=*** > > > So, I see no reason why there would be any transliteratio problems: > Windows unicode -> UTF8, and then UTF8 all the way, right? > > What might be going on here? Anything I might be doing wrong? Bug in > .NET FirebirdClient? Bug in Firebird itself? > > Regards, > Kjell Rilbe In firebird-devel, Mark Rotteveel pointed out that the .NET provider seems to use Encoding.Default for TPB, which is not a good choice, considering it's system dependent. I assume TPB want a specific encoding, regardless of client platform. Please consider replacing with Encoding.UTF8, as indicated in the same firebird-devel thread, for all strings in TPB. Also, please consider replacing ALL string.ToUpper() and other string methods with methods that use a well defined (not platform dependent) encoding, i.e. string.ToUpperInvariant(). string.ToUpper() also uses Encoding.Default, an so has the same problems as with TPB above. Finally, when designing test cases, I hope support for non-ascii characters in various places are considered and covered. I wish I could help out better, i.e. fix stuff myslef and submit pull requests, but I'm afraid I would need to study the innards of FIrebird communication a few years before being able to fix more than I destroy. :-) Regards, Kjell |
From: Kjell R. <kje...@ma...> - 2018-09-18 08:35:10
|
Hi, I've been using Firebird since a long time, using quoted identifiers with Swedish characters åäö in them. I am now at version 3.0.3 (on Windows Server 2016, 64 bit). Now I tried this code in C# using FirebirClient 6.3.0.0: /*-----*/ Dictionary<string, FbTransactionBehavior> locks = new Dictionary<string, FbTransactionBehavior>() { { "KörningInstans", FbTransactionBehavior.Protected | FbTransactionBehavior.LockWrite }, { "Körning", FbTransactionBehavior.Protected | FbTransactionBehavior.LockWrite } }; FbTransaction trans = connection.BeginTransaction(new FbTransactionOptions() { LockTables = locks, TransactionBehavior = FbTransactionBehavior.Consistency | FbTransactionBehavior.Write }); /*-----*/ The BeginTransaction call fails with an exception "arithmetic exception, numeric overflow, or string truncation Cannot transliterate character between character sets". Error code in the exception is 335544321. SQLSTATE 22000. It contains 3 errors: 1. type 1, error code 335544321, no message. 2. type 1, error code 335544565, no message. 3. type 0, error code 335544321, message "arithmetic exception, numeric overflow, or string truncation\r\nCannot transliterate character between character sets". The database is created like this in isql: create database 'KorningarDev' user DEV password '***' page_size 4096 set names 'UTF8' default character set UTF8 collation UNICODE; And the connection string looks like this: Server=xxx.xxx.xxx.xxx;Port=3050;Database=KorningarDev;Charset=UTF8;User=DEV;Password=*** So, I see no reason why there would be any transliteratio problems: Windows unicode -> UTF8, and then UTF8 all the way, right? What might be going on here? Anything I might be doing wrong? Bug in .NET FirebirdClient? Bug in Firebird itself? Regards, Kjell Rilbe |
From: Mark R. <ma...@la...> - 2018-09-16 08:49:17
|
You are posting to the old list. The list has moved to Google Groups. Subscribe by sending a mail to: fir...@go... or by visiting https://groups.google.com/forum/#!forum/firebird-net-provider Mark On 16-11-2017 15:33, LtColRDSChauhan wrote: > Hello, > > 1. I need to frequently copy a table from one database to another. This > has started to fail now, apparently due to increase in number of > records. Attempting to copy about 13,26,000 records fails reporting > “Error reading data from the connection”. Number of records that I can > still successful copy is about 13,24,510. > > 3. I copy the in batches of 50,000 records (variable) each. For each > batch, i open and close connection. I have tried setting connection > pooling true and false both. Also varied the batch size to 5000, 100000 etc. > > 2. My database and client are on the same machine. Other details: > > RAM 16 GB > > Client application 64 Bit > > OS Windows 10 64 Bit > > Firebird ADO.NET <http://ADO.NET> Data Provider – tried both: 5.11.0.0 > and 5.12.0 > > Firebird 3.0.2.32703_0_Win64 > > 3. Please suggest possible solutions. > > Regards, > > Rajiv > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > -- Mark Rotteveel |
From: Kjell R. (JIRA) <tr...@fi...> - 2018-09-15 06:09:09
|
Can't connect with mixed case user name --------------------------------------- Key: DNET-851 URL: http://tracker.firebirdsql.org/browse/DNET-851 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 6.3.0.0 Environment: Firebird 3.0.3 64 bit, Windows Server 2016 64 bit, .NET Framework 4.7.1, Visual Studio 2017 Community, C# console application. Reporter: Kjell Rilbe Assignee: Jiri Cincura Priority: Minor I created a user and database in isql connected to security3.db: create user "KorningarDev" password '***'; create database 'KorningarDev' user "KorningarDev" password '***' page_size 4096 set names 'UTF8' default character set UTF8 collation UNICODE; I can use this database from FlameRobin, specifying the user name with quotes "KorningarDev". But I can't connect to it from the FirebirdClient. I've tried several different variations of connection string, but nothing works. With a uppercase user, this connection string works: Server=xxx.xxx.xxx.xxx;Port=3050;Database=KorningarDev;Charset=UTF8;User=DEV;Password=*** With the mixed case user name, none of these semm to work: Server=xxx.xxx.xxx.xxx;Port=3050;Database=KorningarDev;Charset=UTF8;User=KorningarDev;Password=*** Server=xxx.xxx.xxx.xxx;Port=3050;Database=KorningarDev;Charset=UTF8;User="KorningarDev";Password=*** Server=xxx.xxx.xxx.xxx;Port=3050;Database=KorningarDev;Charset=UTF8;User='KorningarDev';Password=*** I would assume that the FirebirdClient, along the way, loses the quotes on the user name, causing the login request to attemt login with an uppercased username KORNINGARDEV. -- 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 |
From: Georgi P. (JIRA) <tr...@fi...> - 2018-09-09 20:46:06
|
Incorrect SQL generated when 2 or more columns should be returned on update --------------------------------------------------------------------------- Key: DNET-850 URL: http://tracker.firebirdsql.org/browse/DNET-850 Project: .NET Data provider Issue Type: Bug Components: Entity Framework Core Affects Versions: 6.3.0.0 Reporter: Georgi Panayotov Assignee: Jiri Cincura When I have 2 or more columns that are calculated and they should be returned on update then wrong SQL is generated. I found this on https://github.com/ralmsdeveloper/EntityFrameworkCore.FirebirdSQL , but as I see the code this should appear here too. The generated code is like: ... RETURNING COLUMN1 INTO :COLUMN1, COLUMN2 INTO :COLUMN2 ... but it should be: RETURNING COLUMN1, COLUMN2 INTO :COLUMN1, :COLUMN2 I've created a fork to try to fix the issue - the commit is: https://github.com/gpanayotov/FirebirdSql.Data.FirebirdClient/commit/17e3255d32a9ca573b7e21d8fb6314a4d98b510c -- 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 |
From: jack128 (JIRA) <tr...@fi...> - 2018-09-08 09:20:10
|
WIN1251 is invalid character on .Net Core projects -------------------------------------------------- Key: DNET-849 URL: http://tracker.firebirdsql.org/browse/DNET-849 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 6.3.0.0 Reporter: jack128 Assignee: Jiri Cincura Priority: Blocker Project: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFrameworks>netcoreapp2.1;net461</TargetFrameworks> </PropertyGroup> <ItemGroup> <PackageReference Include="FirebirdSql.Data.FirebirdClient" Version="6.3.0" /> </ItemGroup> </Project> Code: class Program { static void Main(string[] args) { Test(); Console.ReadKey(); } static void Test() { var connectionString = new FbConnectionStringBuilder { Charset = "WIN1251", Database = "localhost:D:\\DataBases\\CM\\New2\\CMBASE (2).FDB", UserID = "SYSDBA", Password = "masterkey" }; var connection = new FbConnection(connectionString.ToString()); try { connection.Open(); Console.WriteLine("Connection is successful"); } catch (Exception e) { Console.Write("ERROR: "); Console.WriteLine(e); } finally { connection.Close(); } } } build project, run \bin\Debug\net461\MultiTargetConsoleApp.exe, output: "Connection is successful" as expected but when you run core version dotnet .\bin\Debug\netcoreapp2.1\MultiTargetConsoleApp.dll output: ERROR: FirebirdSql.Data.FirebirdClient.FbException (0x80004005): Invalid character set specified If I set charset to NONE, error is disappear. -- 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 |
From: Jiri C. (JIRA) <tr...@fi...> - 2018-09-05 18:32:02
|
[ http://tracker.firebirdsql.org/browse/DNET-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiri Cincura reopened DNET-846: ------------------------------- > Query´s to an older FB1.5-Server causes SQLDA-error > --------------------------------------------------- > > Key: DNET-846 > URL: http://tracker.firebirdsql.org/browse/DNET-846 > Project: .NET Data provider > Issue Type: Bug > Affects Versions: 6.2.0.0 > Environment: Client: Windows 10 x64, Server: Windows Server 2016 with FB1.5.6.5026 > Reporter: Andreas Franz > Assignee: Jiri Cincura > > Sometimes (not reproducible) I get an non-specific "SQLDA"-error, if a simple query is send to an FB1.5 server. On server-side, there´s an error 10054 in logfile. > I can´t update to a newer Firebird-server version because of an older expensive special software with BDE-access. > Older providers (I guess <4.5) didn´t have this problem. I have updated provider to 6.2, because of an additional FB2.5-server I have to connect, too (in same application). > Is FB1.5 incompatible with newer providers? Are there any examples for detailled error-handling? -- 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 |
From: Andreas F. (JIRA) <tr...@fi...> - 2018-09-04 13:08:11
|
REOPEN -Query´s to an older FB1.5-Server causes SQLDA-error ----------------------------------------------------------- Key: DNET-848 URL: http://tracker.firebirdsql.org/browse/DNET-848 Project: .NET Data provider Issue Type: Bug Affects Versions: 6.2.0.0 Environment: Client: Windows 10 x64, Server: Windows Server 2016 with FB1.5.6.5026 Reporter: Andreas Franz Assignee: Jiri Cincura Sometimes (not reproducible) I get an non-specific "SQLDA"-error, if a simple query is send to an FB1.5 server. On server-side, there´s an error 10054 in logfile. I can´t update to a newer Firebird-server version because of an older expensive special software with BDE-access. Older providers (I guess <4.5) didn´t have this problem. I have updated provider to 6.2, because of an additional FB2.5-server I have to connect, too (in same application). Is FB1.5 incompatible with newer providers? Are there any examples for detailled error-handling? -- 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 |
From: Jiri C. (JIRA) <tr...@fi...> - 2018-09-03 09:40:08
|
ReadBuffer might overwrite items on resizing -------------------------------------------- Key: DNET-847 URL: http://tracker.firebirdsql.org/browse/DNET-847 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 6.2.0.0 Reporter: Jiri Cincura Assignee: Jiri Cincura Priority: Blocker When the write position is before (after wrap) read position and resize happens, the read items might be overwritten if enough is written to the buffer. -- 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 |
From: Andreas F. (JIRA) <tr...@fi...> - 2018-08-29 09:21:05
|
Query´s to an older FB1.5-Server causes SQLDA-error --------------------------------------------------- Key: DNET-846 URL: http://tracker.firebirdsql.org/browse/DNET-846 Project: .NET Data provider Issue Type: Bug Affects Versions: 6.2.0.0 Environment: Client: Windows 10 x64, Server: Windows Server 2016 with FB1.5.6.5026 Reporter: Andreas Franz Assignee: Jiri Cincura Sometimes (not reproducible) I get an non-specific "SQLDA"-error, if a simple query is send to an FB1.5 server. On server-side, there´s an error 10054 in logfile. I can´t update to a newer Firebird-server version because of an older expensive special software with BDE-access. Older providers (I guess <4.5) didn´t have this problem. I have updated provider to 6.2, because of an additional FB2.5-server I have to connect, too (in same application). Is FB1.5 incompatible with newer providers? Are there any examples for detailled error-handling? -- 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 |
From: Andreas F. (JIRA) <tr...@fi...> - 2018-08-29 09:03:14
|
error 10054 on fbserver if I exit my application (FbRemoteEvent-usage) ---------------------------------------------------------------------- Key: DNET-845 URL: http://tracker.firebirdsql.org/browse/DNET-845 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 6.2.0.0 Environment: Client: Windows 10 x64, Server: Windows Server 2016 with Firebird-Server 2.5.8.27089 Reporter: Andreas Franz Assignee: Jiri Cincura Closing an application with FbRemoteEvent-usage causes an 10054 error in firebird.log. "CancelEvent" and "Dispose" has no effect. Seems connection is terminated hard on application exit. -- 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 |
From: Christian B (JIRA) <tr...@fi...> - 2018-08-22 10:21:16
|
NullReferenceException on Version10.GdsDatabase.BeginTransaction(TransactionParameterBuffer tpb) ------------------------------------------------------------------------------------------------ Key: DNET-844 URL: http://tracker.firebirdsql.org/browse/DNET-844 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 5.12.1.0 Environment: WindowsServer 2012R2 Firebird-Server Version 2.5.4 EntityFramework Version 6.1.3 EntityFramework.Firebird Version 5.12.1.0 Provider Version 5.12.1.0 Provider Version 5.12.1.0 Reporter: Christian B Assignee: Jiri Cincura Priority: Critical It happens every few days, that we get NullReferenceException in our web-service. This happens on select and also on update (save changes). We can now only "fix" it, when we restart the web-service (pool). Callstack - Select: It happens on ToList(), First(), FirstOrDefault() System.NullReferenceException Void BeginTransaction(FirebirdSql.Data.Common.TransactionParameterBuffer) bei FirebirdSql.Data.Client.Managed.Version10.GdsTransaction.BeginTransaction(TransactionParameterBuffer tpb) bei FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.BeginTransaction(TransactionParameterBuffer tpb) bei FirebirdSql.Data.FirebirdClient.FbTransaction.BeginTransaction() bei FirebirdSql.Data.FirebirdClient.FbCommand.Prepare(Boolean returnsSet) bei FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteCommand(CommandBehavior behavior, Boolean returnsSet) bei FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteReader(CommandBehavior behavior) bei System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) bei System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) bei System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) bei System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) bei System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) bei System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5() bei System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) bei System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0() bei System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) Callstack - Update: System.NullReferenceException Void BeginTransaction(FirebirdSql.Data.Common.TransactionParameterBuffer) bei FirebirdSql.Data.Client.Managed.Version10.GdsTransaction.BeginTransaction(TransactionParameterBuffer tpb) bei FirebirdSql.Data.Client.Managed.Version10.GdsDatabase.BeginTransaction(TransactionParameterBuffer tpb) bei FirebirdSql.Data.FirebirdClient.FbTransaction.BeginTransaction() bei FirebirdSql.Data.FirebirdClient.FbConnectionInternal.BeginTransaction(IsolationLevel level, String transactionName) bei FirebirdSql.Data.FirebirdClient.FbConnection.BeginDbTransaction(IsolationLevel isolationLevel) bei System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) bei System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.BeginTransaction(DbConnection connection, BeginTransactionInterceptionContext interceptionContext) bei System.Data.Entity.Core.EntityClient.EntityConnection.BeginDbTransaction(IsolationLevel isolationLevel) bei System.Data.Entity.Core.EntityClient.EntityConnection.BeginTransaction() bei System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) bei System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) bei System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) bei System.Data.Entity.Internal.InternalContext.SaveChanges() bei BetAdmin.Data.BetAdminContext.SaveChanges() -- 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 |
From: Jiri C. (JIRA) <tr...@fi...> - 2018-08-17 12:55:03
|
Provide InfoMessage event for DbService --------------------------------------- Key: DNET-843 URL: http://tracker.firebirdsql.org/browse/DNET-843 Project: .NET Data provider Issue Type: New Feature Components: ADO.NET Provider Affects Versions: 6.1.0.0 Reporter: Jiri Cincura Assignee: Jiri Cincura Priority: Minor -- 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 |
From: Jiri C. (JIRA) <tr...@fi...> - 2018-08-17 08:25:04
|
Support for CryptKeyCallback handling in DropDatabase ----------------------------------------------------- Key: DNET-842 URL: http://tracker.firebirdsql.org/browse/DNET-842 Project: .NET Data provider Issue Type: Improvement Components: ADO.NET Provider Affects Versions: 6.1.0.0 Reporter: Jiri Cincura Assignee: Jiri Cincura Priority: Minor -- 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 |
From: Jiri C. (JIRA) <tr...@fi...> - 2018-08-17 08:25:02
|
Support for CryptKeyCallback handling in CreateDatabase ------------------------------------------------------- Key: DNET-841 URL: http://tracker.firebirdsql.org/browse/DNET-841 Project: .NET Data provider Issue Type: Improvement Components: ADO.NET Provider Affects Versions: 6.1.0.0 Reporter: Jiri Cincura Assignee: Jiri Cincura Priority: Minor -- 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 |
From: jack128 (JIRA) <tr...@fi...> - 2018-08-09 08:41:06
|
Bug if use Replace with parameter --------------------------------- Key: DNET-840 URL: http://tracker.firebirdsql.org/browse/DNET-840 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 6.1.0.0 Environment: win64, fb3.0.1 Reporter: jack128 Assignee: Jiri Cincura script to create db: CREATE DATABASE 'localhost:C:\Data\TEMP_3ED4BB49-EE30-4D79-8038-EBC5C24C536D.FDB' USER 'SYSDBA' PASSWORD 'masterkey'; create table TempTable (caption varchar(255)); insert into TempTable values('1'); commit; test: static void Main(string[] args) { var filename = @"C:\Data\Temp_3ED4BB49-EE30-4D79-8038-EBC5C24C536D.fdb"; var connectionString = new FbConnectionStringBuilder { UserID = "SYSDBA", Password = "masterkey", Database = filename, }.ConnectionString; using (var conn = new FbConnection(connectionString)) { conn.Open(); using (var command = conn.CreateCommand()) { const string sql = @"select * from TempTable t where t.caption like Replace(@p, '~', '~~')"; // this query does not return row, although should //const string sql = @"select * from TempTable t where t.caption like @p"; // this query returns row as expected command.CommandText = sql; var p = command.CreateParameter(); p.ParameterName = "p"; p.Value = "1"; command.Parameters.Add(p); using (var reader = command.ExecuteReader()) { if (!reader.Read()) throw new Exception("1 row should be returned"); } } } } -- 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 |
From: Jiri C. (JIRA) <tr...@fi...> - 2018-07-27 18:09:54
|
Support for DROP PACKAGE in FbScript ------------------------------------ Key: DNET-838 URL: http://tracker.firebirdsql.org/browse/DNET-838 Project: .NET Data provider Issue Type: New Feature Components: ADO.NET Provider Affects Versions: 6.1.0.0 Reporter: Jiri Cincura Assignee: Jiri Cincura -- 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 |
From: Jiri C. (JIRA) <tr...@fi...> - 2018-07-27 18:09:53
|
Support for DROP PACKAGE BODY in FbScript ----------------------------------------- Key: DNET-839 URL: http://tracker.firebirdsql.org/browse/DNET-839 Project: .NET Data provider Issue Type: New Feature Components: ADO.NET Provider Affects Versions: 6.1.0.0 Reporter: Jiri Cincura Assignee: Jiri Cincura -- 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 |
From: Luciano M. (JIRA) <tr...@fi...> - 2018-07-16 13:06:00
|
Windows Trusted Authentication Exception when it is tried by PC outside domain ------------------------------------------------------------------------------ Key: DNET-837 URL: http://tracker.firebirdsql.org/browse/DNET-837 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 6.0.0.0 Reporter: Luciano Mendes Assignee: Jiri Cincura Inittial Setup - Firebird Server under Windows Active Directory domain (e.g.: CINMOTO) - .NET Client application installed on a PC outside Active directory control (e.g.: Windows 10 Professional without registered on CINMOTO domain) - Client user (PC_NAME\USER_NAME) is on RDB$ADMIN database (e.g.: THUNDERBOY\LURON) Step to reproduce this issue: - Try to connect to the database without provide password (Windows Trusted Authentication) Actual Result ============================================ System.Exception: InitializeSecurityContext failed em FirebirdSql.Data.Client.Managed.SspiHelper.GetClientSecurity(Byte[] serverToken) em FirebirdSql.Data.Client.Managed.Version11.GdsDatabase.ProcessTrustedAuthResponse(SspiHelper sspiHelper, IResponse& response) em FirebirdSql.Data.Client.Managed.Version11.GdsDatabase.AttachWithTrustedAuth(DatabaseParameterBuffer dpb, String dataSource, Int32 port, String database, Byte[] cryptKey) em FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() em FirebirdSql.Data.FirebirdClient.FbConnection.Open() ============================================ Expected Result - No exception should happen -- 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 |
From: Jiri C. (JIRA) <tr...@fi...> - 2018-07-09 18:39:07
|
FB3 bool support in EF ---------------------- Key: DNET-836 URL: http://tracker.firebirdsql.org/browse/DNET-836 Project: .NET Data provider Issue Type: New Feature Components: Entity Framework Affects Versions: 6.0.0.0 Reporter: Jiri Cincura Assignee: Jiri Cincura -- 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 |
From: Jiri C. (JIRA) <tr...@fi...> - 2018-07-09 11:56:08
|
Support for CREATE PACKAGE in FbScript --------------------------------------- Key: DNET-834 URL: http://tracker.firebirdsql.org/browse/DNET-834 Project: .NET Data provider Issue Type: New Feature Components: ADO.NET Provider Affects Versions: 6.0.0.0 Reporter: Jiri Cincura Assignee: Jiri Cincura -- 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 |
From: Jiri C. (JIRA) <tr...@fi...> - 2018-07-09 11:56:01
|
Support for CREATE PACKAGE BODY in FbScript ------------------------------------------- Key: DNET-835 URL: http://tracker.firebirdsql.org/browse/DNET-835 Project: .NET Data provider Issue Type: New Feature Components: ADO.NET Provider Affects Versions: 6.0.0.0 Reporter: Jiri Cincura Assignee: Jiri Cincura -- 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 |
From: Daniel H (JIRA) <tr...@fi...> - 2018-07-05 10:52:08
|
"Unable to enlist in transaction, a local transaction already exists" in multithreaded environments --------------------------------------------------------------------------------------------------- Key: DNET-833 URL: http://tracker.firebirdsql.org/browse/DNET-833 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 6.0.0.0 Reporter: Daniel H Assignee: Jiri Cincura We are developing an ASP.NET Core (.NET Core Version 2.1.1) web application. We are using a Firebird 3 Connection Pool with the following options in the connection string: - Pooling: True - MinPoolSize: 0 - MaxPoolSize: 50 - Auto_Commit: false - Enlist: true On serveral occasions we receive the following exception: "Unable to enlist in transaction, a local transaction already exists". This happens in our minimal breaking exampple, if we call the following code with a few threads over HTTP GET: [HttpGet] public async Task<IActionResult> GetX() { IEnumerable<string> x= null; using (var ts = new TransactionScope( TransactionScopeAsyncFlowOption.Enabled)) { using (var connection = new FbConnection(connectionString)) { roles = await connection.QueryAsync<string>( sql: "SELECT strField FROM X", commandType: CommandType.Text); } ts.Complete(); } return Ok(x); } If we encapsulate the TransactionScope block with a Semaphore it runs fine. Therefore the question: Does this library supporting multithreading or do we need to protect Firebird calls with a semaphore? -- 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 |