Re: [Firebird-net-provider] [firebird-support] Not convert to UNICODE in Embeded

2008-08-04 Thread Dean Harding
Pham Huu Le Quoc Phuc wrote: > Thanks for your reply, > > When my program catches exception, it gets message property from Exception. > I sure 100% I write "correct code" because it works OK! on SuperServer. > But when I connect by Embedded(with the same connection string, I just > modify server t

Re: [Firebird-net-provider] [firebird-support] Not convert to UNICODE in Embeded

2008-08-04 Thread Pham Huu Le Quoc Phuc
Thanks for your reply, When my program catches exception, it gets message property from Exception. I sure 100% I write "correct code" because it works OK! on SuperServer. But when I connect by Embedded(with the same connection string, I just modify server type), message of Exception still UTF8. In

Re: [Firebird-net-provider] [firebird-support] Not convert to UNICODE in Embeded

2008-08-04 Thread Dean Harding
Pham Huu Le Quoc Phuc wrote: > Anybody fall into this problem. Please help me. It's only been a few hours, have patience. Many people on this list will be asleep at the moment. In the meantime, I would suggest you try to provide some more information about the problem you're seeing. As a quick

Re: [Firebird-net-provider] [firebird-support] Not convert to UNICODE in Embeded

2008-08-04 Thread Pham Huu Le Quoc Phuc
Anybody fall into this problem. Please help me. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pham Huu Le Quoc Phuc Sent: Tuesday, August 05, 2008 07:46 To: [EMAIL PROTECTED] Cc: 'For users and developers of the Firebird .NET providers' Subject: [Firebird-net-provide

[Firebird-net-provider] [firebird-support] Not convert to UNICODE in Embeded

2008-08-04 Thread Pham Huu Le Quoc Phuc
Hi all, I use Firebird 2.1.1, Windows XP SP3, Firebird .Net 2.1, UNICODE_FSS for all database data, .Net 2.0, VS2008. I write a procedure, it thows an exception with message that select from a table. My program catches exception and show message to user. All's OK if I use SuperServer, the messag

Re: [Firebird-net-provider] Database level exceptions and FBExceptions problem

2008-08-04 Thread Jiri Cincura
On Mon, Aug 4, 2008 at 11:54 PM, zeko77 <[EMAIL PROTECTED]> wrote: > If it is not too much trouble, I would ask you for link to latest source if > possible. RTFM http://www.firebirdsql.org/index.php?op=devel&sub=netprovider -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.vyvojar.cz/jirka/ |

Re: [Firebird-net-provider] Database level exceptions and FBExceptions problem

2008-08-04 Thread zeko77
You are right. It seems that the source I downloaded and targeted for framework 2.0 was outdated. I used last weekly build and it works. Thank you very much. If it is not too much trouble, I would ask you for link to latest source if possible. Best regards Jiri Cincura wrote: > > SQL> create e

Re: [Firebird-net-provider] Database level exceptions and FBExceptions problem

2008-08-04 Thread Jiri Cincura
SQL> create exception rrr 'RRRrrrRRR'; SQL> set term !!; create procedure U as begin exception rrr; end!! set term ; !! using (FbConnection conn = new FbConnection(@"database=localhost/3050:rrr.fdb;user=sysdba;password=masterkey")) { conn.Open(); using (

Re: [Firebird-net-provider] Database level exceptions and FBExceptions problem

2008-08-04 Thread zeko77
Thanx for fast response. The problem is that i throw "WEB_PLAYER_USERNAME_EXEPTION" with message "Username already exists!" in stored proc WEB_PLAYER_I if username already exists. The content of FBException message is: "No message for error code 335544382 found.\r\nNo message for error code 335

Re: [Firebird-net-provider] Database level exceptions and FBExceptions problem

2008-08-04 Thread Jiri Cincura
On Mon, Aug 4, 2008 at 9:21 PM, zeko77 <[EMAIL PROTECTED]> wrote: > > I am using 2.5.0 alpha 2 provider. Use 2.1 whis is considered as stable. > The problem is that if a throw an exception in stored proc or trigger, i get > 'No message for error code 335544382 found. > At procedure 'XYZ' line x e

[Firebird-net-provider] Database level exceptions and FBExceptions problem

2008-08-04 Thread zeko77
I am using 2.5.0 alpha 2 provider. The problem is that if a throw an exception in stored proc or trigger, i get 'No message for error code 335544382 found. At procedure 'XYZ' line x etc...' The only way to identify exception is to get line number, whisch is cumbersome at least. Why not get an EXC