[ 
http://tracker.firebirdsql.org/browse/DNET-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Cincura reopened DNET-140:
-------------------------------

      Assignee: Jiri Cincura  (was: Carlos Guzman Alvarez)

The fixture isn't correct. From list:

From: Christian Nylund
FbConnection  conn = new FbConnection(connectionstring);
conn.Open();
FbRemoteEvent revent = new FbRemoteEvent(conn);
revent.AddEvents(new String[] { "NEWEVENTS" });

// Add callback to the Firebird events
revent.RemoteEventCounts += new FbRemoteEventEventHandler(onDBEvent);

// Queue events
revent.QueueEvents();

The code above returns the error described in DNET-140 when running provider 
2.5.0 on Vista (any DB version) and also when running provider 2.1.0 on Vista 
(only against 2.1 DB though). Both works fine on my XP developer machine 
regardless on the version of the DB.

> Remote events don't work
> ------------------------
>
>                 Key: DNET-140
>                 URL: http://tracker.firebirdsql.org/browse/DNET-140
>             Project: .NET Data provider
>          Issue Type: Bug
>          Components: ADO.NET Provider
>         Environment: WinXP
>            Reporter: Viner Mihail
>            Assignee: Jiri Cincura
>             Fix For: 2.5.0
>
>         Attachments: FbRemoteEventTest.zip
>
>
> Creating remote events monitoring connection via Firebird .NET Provider 2.0:
> FbConnection MonitorConnection = new FbConnection(ConnectionString);
> MonitorConnection.Open();
> FbRemoteEvent MonitorEvent = new FbRemoteEvent(MonitorConnection, new[] { 
> "DataChanged" });
> MonitorEvent.QueueEvents();
> QueueEvents fails with:
> Exception of type 'FirebirdSql.Data.Common.IscException' was thrown.
>    at FirebirdSql.Data.Client.Gds.GdsConnection.Connect(String dataSource, 
> Int32 port, Int32 packetSize, Charset charset)
>    at FirebirdSql.Data.Client.Gds.GdsEventManager..ctor(Int32 handle, String 
> ipAddress, Int32 portNumber)
>    at FirebirdSql.Data.Client.Gds.GdsDatabase.QueueEvents(RemoteEvent events)
>    at FirebirdSql.Data.Common.RemoteEvent.QueueEvents()
>    at FirebirdSql.Data.FirebirdClient.FbRemoteEvent.QueueEvents()
> The bug occurres only under Firebird 2.1 Beta 2.
> The same code under Firebird 2.1 Beta 1 and earlier work fine.

-- 
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

        

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to