From: Matt H. <ma...@xp...> - 2004-03-26 21:52:39
|
When passing an FbException through Remoting, the Remoting service throws another exception indicating that it cannot deserialize a GdsException because it can't find an appropriate constructor. Has anyone else run into this problem? ---Matt |
From:
<car...@te...> - 2004-03-26 21:59:50
|
Hello: > When passing an FbException through Remoting, the Remoting service > throws another exception indicating that it cannot deserialize a > GdsException because it can’t find an appropriate constructor. Has > anyone else run into this problem? Huummm GdsException has the Serializable attribute too, but it's internal class, maybe i will need to change the way i'm throwing the FbException ( that is using the GdsException as InnerException ) or change this constructor: internal FbException(string message, GdsException ex) : base(message, ex) to internal FbException(string message, GdsException ex) : base(message) I think thi can solve the problem ... can you try it and comment the result ?? -- Best regards Carlos Guzmán álvarez Vigo-Spain |
From: Matt H. <ma...@xp...> - 2004-03-26 22:07:04
|
I think I can try this, but it will take some time. The test case that = I've got that produces this exception takes about 5 or 6 hours to fault, so = I'll have to let it run over the weekend or something and get back to you on = the result. ---Matt -----Original Message----- From: fir...@li... [mailto:fir...@li...] On Behalf Of Carlos Guzm=E1n =C1lvarez Sent: Friday, March 26, 2004 4:00 PM To: Matt Honeycutt Cc: fir...@li... Subject: Re: [Firebird-net-provider] FbException Can't Be Deserialized Hello: > When passing an FbException through Remoting, the Remoting service=20 > throws another exception indicating that it cannot deserialize a=20 > GdsException because it can=92t find an appropriate constructor. Has=20 > anyone else run into this problem? Huummm GdsException has the Serializable attribute too, but it's=20 internal class, maybe i will need to change the way i'm throwing the=20 FbException ( that is using the GdsException as InnerException ) or=20 change this constructor: internal FbException(string message, GdsException ex) : base(message, = ex) to internal FbException(string message, GdsException ex) : base(message) I think thi can solve the problem ... can you try it and comment the=20 result ?? -- Best regards Carlos Guzm=E1n =E1lvarez Vigo-Spain ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck _______________________________________________ Firebird-net-provider mailing list Fir...@li... https://lists.sourceforge.net/lists/listinfo/firebird-net-provider |
From:
<car...@te...> - 2004-03-26 22:11:12
|
Hello: > I think I can try this, but it will take some time. The test case that I've > got that produces this exception takes about 5 or 6 hours to fault, so I'll > have to let it run over the weekend or something and get back to you on the > result. No problem, if you can't build the sources let me know and i will send you the dll. If your tests works i will commit the change in the CVS, thanks for the report -- Best regards Carlos Guzmán álvarez Vigo-Spain |
From: Matt H. <ma...@xp...> - 2004-03-26 22:37:11
|
If you don't mind, go ahead and E-mail me the DLL that you built. If I = make changes, they may not exactly match the changes that you made (thought = they probably would), which might lead to problems. ---Matt -----Original Message----- From: fir...@li... [mailto:fir...@li...] On Behalf Of Carlos Guzm=E1n =C1lvarez Sent: Friday, March 26, 2004 4:11 PM To: Matt Honeycutt Cc: fir...@li... Subject: Re: [Firebird-net-provider] FbException Can't Be Deserialized Hello: > I think I can try this, but it will take some time. The test case = that I've > got that produces this exception takes about 5 or 6 hours to fault, so I'll > have to let it run over the weekend or something and get back to you = on the > result. No problem, if you can't build the sources let me know and i will send=20 you the dll. If your tests works i will commit the change in the CVS, thanks for the=20 report -- Best regards Carlos Guzm=E1n =E1lvarez Vigo-Spain ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck _______________________________________________ Firebird-net-provider mailing list Fir...@li... https://lists.sourceforge.net/lists/listinfo/firebird-net-provider |