From: Ulrich G. <ulr...@ar...> - 2017-08-14 11:54:04
|
<!DOCTYPE html> <html><head> <meta charset="UTF-8"> </head><body><p>Since this new class with its own data connection were introduced, I can't make it work anymore. When using the</p><p><br></p><p>QueueEvents(EventName) method an exception [] is thrown ["Error reading data from the connection."]</p><p>I'm using the same connection string which I'm using for my other data connections</p><p>Its also not working with the provided example code :</p><pre><em>using (var @event = new FbRemoteEvent(Connection.ConnectionString)) { @event.RemoteEventError += (sender, e) => { Console.WriteLine($"ERROR: {e.Error}"); }; @event.RemoteEventCounts += (sender, e) => { Console.WriteLine($"{e.Name}: {e.Counts}"); }; @event.QueueEvents("test"); using (var cmd = Connection.CreateCommand()) { cmd.CommandText = "execute block as begin post_event 'test'; end"; cmd.ExecuteNonQuery(); } Console.ReadKey(); }<br><br>My connection string is :<br><br>"initial catalog=database.fdb;data source=Localhost;port number=3050;character set=ISO8859_1;user id=sysdba;password=masterkey;pooling=False;min pool size=1;max pool size=50;client library=fbClient.dll;dialect=3"<br><br><br></em></pre><p>Best regards</p></body></html> |
From: Jiří Č. <ji...@ci...> - 2017-08-14 15:03:17
|
What's the complete stack trace? I copy-pasted your code to a console app and it worked fine. I only changed database name. The rest was untouched. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ |
From: Ulrich G. <ulr...@ar...> - 2017-08-16 06:27:19
|
Is that what you are looking for? StackTrace : bei FirebirdSql.Data.FirebirdClient.FbRemoteEvent.QueueEvents(String[] events) bei RemoteEvent.Program.Main(String[] args) in S:\FirebirdClient\Test\FbRemoteEvent\Program.cs:Zeile 26. bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart() there is the inner exception : {"Die Datei oder Assembly \"Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.":"Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"} Seems to be a problem with the install .Net framework v4.0.30319 ? > Jiří Činčura <ji...@ci...> hat am 14. August 2017 um 17:03 geschrieben: > > > What's the complete stack trace? > > I copy-pasted your code to a console app and it worked fine. I only > changed database name. The rest was untouched. > > -- > Mgr. Jiří Činčura > https://www.tabsoverspaces.com/ > > > ------------------------------------------------------------------------------ > 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 |
From: Jiří Č. <ji...@ci...> - 2017-08-16 07:21:29
|
> Seems to be a problem with the install .Net framework v4.0.30319 ? Not really. Do you have all NuGet dependencies installed? -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ |
From: Ulrich G. <ulr...@ar...> - 2017-08-16 08:34:18
|
Just learned, that this is necessary since I move to FirebirdClient version 5.9 :-) Thank you for pushing me into the right directions - its working now > Jiří Činčura hat am 16. August 2017 um 09:21 geschrieben: > > > > Seems to be a problem with the install .Net framework v4.0.30319 ? > > > > > Not really. Do you have all NuGet dependencies installed? > > -- > Mgr. Jiří Činčura > https://www.tabsoverspaces.com/ > > --------------------------------------------- > 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...urceforge mailto:Fir...@li...urceforge .net > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > |
From: Ulrich G. <ulr...@ar...> - 2017-08-20 12:10:23
|
Hello, I just saw in the Firebird tracker, that it is planned to drop -Net 4.0 support and a message from 16./August : "OK, one week from now I'll drop NET40 from 6.0 onward, unless somebody opens up a discussion here or in the list and contributes in any way for NET40 support." In our company we are still working with VS2010 and using Net Framework 4.0 and most likely we will not change that before next year. Most likely our company is not the only one. With best regards |