[Firebird-net-provider] Feedback from FBBackup/Restore

2011-06-09 Thread André Knappstein , Controlling
Hi Gang! Using Provider 2.6.0, I played around with FBBackup/FBRestore and it all works very good. Thanks for all the good work Jiri, Carlos and others!! I did not understand, though, how I can get some output or feedback from the backup/restore processes. On calling execute() the process

Re: [Firebird-net-provider] Time is recognized as Timespan

2010-11-03 Thread André Knappstein , Controlling
If this is something known, can somebody please point me to relevant discussions, or if this is unknown, can you tell me what info you would need from me to analyse this? JC It's expected. Look at this list archives to find some related threads. OK, found some time to search the archives;

[Firebird-net-provider] Time is recognized as Timespan

2010-10-22 Thread André Knappstein , Controlling
Hello, now I successfully ported our project from .net 2.0 to .net 4.0. I am using provider 2.5.2. I have something strange, though. When I'm reading data from a firebird database (Server 1.5) and the field type is Time, I get an error when using a data adapter to fill a table with a datacolumn

Re: [Firebird-net-provider] fbcommand.Parameters.Add /.AddRange (.net 4)

2010-09-17 Thread André Knappstein , Controlling
JC On Mon, Sep 13, 2010 at 16:09, André Knappstein, Controlling JC knappst...@beta-eigenheim.de wrote: System.StackOverflowException JC Do you have a stack trace for it? Sorry for coming back to this so late. No, unfortunately right now I can't seem to get one. I have deleted the first

[Firebird-net-provider] fbcommand.Parameters.Add /.AddRange (.net 4)

2010-09-13 Thread André Knappstein , Controlling
Hi Gang, I don't remember anyone posting this before, so I thought I'd inform you. I am updating my application to use .net 4 with VS 2010. Using the conversion wizard (opening a 3.5 or 2.0 project in VS2010), the wizard is doing changes to code using FB provider, which then leads to stack

Re: [Firebird-net-provider] problem with a query (maybe a bug)

2010-04-29 Thread André Knappstein , Controlling
k select userinfo0_.id as x0_0_ k from user_infos userinfo0_ k where (@p0 in(select views1_.View_Id from User_Views_Map views1_ k where userinfo0_.id=views1_.User_Id)) I have such an idea, that you cannot use a dynamic parameter at this place. But I can be wrong. k note 2: if i do the query

Re: [Firebird-net-provider] Connection error using Virtual PC Windows XP Mode

2010-02-18 Thread André Knappstein , Controlling
MS has put a nasty Easter-Egg into XP/SP3 installations of the latest generation. If - during installation of XP-VM - you chose to have the firewall turned off, the GUI displays the firewall indeed as being off, but that is _not_ the case. Turn it on, reboot, turn it off again, and see if you

Re: [Firebird-net-provider] FbDbType.Decimal param fails

2010-02-02 Thread André Knappstein , Controlling
For what it's worth, I am making excessive use of parameters with type Decimal, and I am experiencing _no_ problem at all. I am in the process of eliminating the last non-Firebird portions of databases our softare is based upon and only then will I be able to migrate from 1.5.x to the current 2.x

Re: [Firebird-net-provider] Character set problem between with Firebird .NET provider

2010-01-07 Thread André Knappstein , Controlling
I would second what Jiri wrote. We have been using 8859_1 widely. This works okay with ODBC. Using .net, some things did not work correctly. Or rather they worked correctly but not as we expected :) ISO8859_1 does - for example - not really specify a solution for displaying the Euro symbol (€).

Re: [Firebird-net-provider] Character set problem between with Firebird .NET provider

2010-01-07 Thread André Knappstein , Controlling
databases are still on FB 1.5 due to technical limitations of the old programming tools. Only recently I converted another big part over to C#/.net and will hopefully be done completely this summer. ciao, André -- ~~~Ihre Nachricht~~~ JC On Thu, Jan 7, 2010 at 16:54, André Knappstein

Re: [Firebird-net-provider] [FB-Tracker] Created: (DNET-287) Memory Problem when not dispose the DbCommand

2009-12-10 Thread André Knappstein , Controlling
I don't know if the following method really is better, but it's worth a try, because from old school I would rather not create and destroy too many objects unnecessarily. Dbcmd = Dbconn.CreateCommand(); Dbcmd.Transaction = Dbtrans; Dbcmd.Connection = Dbconn; Dbcmd.CommandType = CommandType.Text;

[Firebird-net-provider] arithmetic overflow mystery

2009-03-19 Thread André Knappstein , Controlling
Hello together, this is the first real problem I have with .net provider for more than 2 years; great work! Thanx! But this one is really scaring me. I get an FBException arithmetic exception, numeric overflow or string truncation, suddenly. And I only get it in .net using provider 2.0.1, the

Re: [Firebird-net-provider] Help with BLOB type

2008-09-05 Thread André Knappstein , Controlling
Hello, also check out this link: http://www.firebirdsql.org/dotnetfirebird/blob-reading-example-csharp.html It is for C#, but the principle is the same and you should be able to transfer it with very small changes to VB.net ciao, André ~~~Ihre Nachricht~~~ tgc dear All, tgc i want to insert

Re: [Firebird-net-provider] Help with SQL

2008-08-27 Thread André Knappstein , Controlling
Hello Steve, join InvoiceDetail d ON (d.InvoiceID = :InvoiceID) join InvoicePayment p ON (p.InvoiceID = :InvoiceID) where (i.InvoiceID = :InvoiceID) Are parameters supposed to work that way in ADO.net?? I always use @ for a parameter identifier instead of : regards, André

Re: [Firebird-net-provider] all news are duplicated

2008-06-03 Thread André Knappstein , Controlling
Hello Helen, HB FYI, we have very few people (all volunteers) trying to HB manage a large number of lists and it is a time-consuming and HB THANKLESS task. this cannot go uncommented, I think. I do know about what you're talking there, because I made the same experience in other fields, where I

Re: [Firebird-net-provider] Asynchronous query execution available?

2008-02-26 Thread André Knappstein , Controlling
Matthias, please be kind with me if the following advice is boring for you, but you mentioned that you are migrating from Access. I am active in teaching developers how to migrate from dBase DBFs, which in general have a lot of similarities with Access MDBs. The biggest mistake I have to

Re: [Firebird-net-provider] selecting accented vowels from RDB$RELATIONS

2008-02-19 Thread André Knappstein , Controlling
Hello, you are already CREATING the database using CS NONE. IBExpert is sometimes using nasty tricks :) I am not too much expert in that but I made the following experience: If there is no pressing need to define CS NONE as default for the database, then it would be good to define one Charset

Re: [Firebird-net-provider] FBException using VPN

2008-02-06 Thread André Knappstein , Controlling
On my LAN the same code is OK. This issue just happens on my VPN clients and just with Date/DateTime fields. Alex, I must admit that I do not know if the normal client.dll (fbclient.dll or gds32.dll) still is involved when using the .net provider. But I had exactly the same issue as you

Re: [Firebird-net-provider] FBException using VPN

2008-02-06 Thread André Knappstein , Controlling
myserver:3050 instead of 10.7.0.X from my VPN), so AC definitely is the OpenVPN server, but for some unknown AC reason Firebird has issues with it. AC Regards, AC --- André Knappstein, Controlling AC [EMAIL PROTECTED] escribió: On my LAN the same code is OK. This issue just happens on my VPN

Re: [Firebird-net-provider] FBException using VPN

2008-02-06 Thread André Knappstein , Controlling
issues with it. AC Regards, AC --- André Knappstein, Controlling AC [EMAIL PROTECTED] escribió: On my LAN the same code is OK. This issue just happens on my VPN clients and just with Date/DateTime fields. Alex, I must admit that I do not know if the normal client.dll (fbclient.dll or gds32

Re: [Firebird-net-provider] Bug in FbConnection.GetSchema(Columns)

2008-01-11 Thread André Knappstein , Controlling
Jürgen, reading this I am quite glad that I have not needed this property in .net provider so far, because I admit it would exceed my comprehension of FB internals. Just in case I need it in future, I would like to get an additional clarification: Looking at a column which is not nullable

Re: [Firebird-net-provider] Bug in FbConnection.GetSchema(Columns)

2008-01-11 Thread André Knappstein , Controlling
Hello Jiri, Maybe what you want and need is a (new?) property NOT_NULL_SET which could result to false for the column while is_nullable still _CAN_ return false because of the underlying domain. JC Isn't this just negation of is_nullable? BTW in schema table are some JC well-known columns so

Re: [Firebird-net-provider] FireBird Crashes when users log onto it using my .NET software

2007-11-21 Thread André Knappstein , Controlling
Now when ever more than 11 users log in simultaneously on FB the server crashes. The log file generated tell that cannot handle this many uses at a time. Even several 100 users should not crash a Firebird server. Is the application installed on every client machine, or are you running remote

Re: [Firebird-net-provider] DDEX provider - support files and installation

2007-11-19 Thread André Knappstein , Controlling
2.1. BTW no matter wheter you have VS SDK you can use ...Less.reg, isn't it? 3. What about installation. Maybe should provide some no so common path like %ProgramFiles%\FirebirdClient, 'cause there're *.txt files with same name from FirebirdClient installation, so during install some can be

Re: [Firebird-net-provider] Help: Unable to execute theGRANTstatement

2007-10-19 Thread André Knappstein , Controlling
My somewhat restricted knowledge of Firebird internals might lead me wrong here, but wouldn't you have to run GRANT statements against the target database, instead of against the security.fdb ??? -- Mit freundlichen Grüssen, André Knappstein, EDV und Controlling Verwaltungs- und

Re: [Firebird-net-provider] unexpected problem with Euro sign

2007-08-08 Thread André Knappstein , Controlling
, EDV und Controlling Verwaltungs- und Erlebniszentrum Marina Rünthe beta Eigenheim GmbH Hafenweg 4 59192 Bergkamen-Rünthe Durchwahl: +49 2389 9240 140 ~~~Ihre Nachricht~~~ JC On 7/20/07, André Knappstein, Controlling JC [EMAIL PROTECTED] wrote: 1.) update rdb$database set rdb

Re: [Firebird-net-provider] unexpected problem with Euro sign

2007-07-20 Thread André Knappstein , Controlling
Just for confirmation: I was testing with a backup of several production databases. All results were the same: changing charset from ISO8859_1 to WIN1252 for all objects in the database does the trick. I can then read and write the Euro-sign not only via ODBC and .net for ODBC and via other

[Firebird-net-provider] unexpected problem with Euro sign

2007-07-11 Thread André Knappstein , Controlling
Hello Gang, I am a bit puzzled about a problem which came quite unexpected to me. It seems that I cannot get our Euro-sign (ALT+0128) through to the client GUI via the .net Provider. Database standard for character type fields is ISO8859_1, Database-fields are ISO8859_1, Charset of Connection is

Re: [Firebird-net-provider] [2] unexpected problem with Euro sign

2007-07-11 Thread André Knappstein , Controlling
You should use unicode (UTF8) in connection string, on 99% you're putting data from .NET in Unicode. Thanks, Jiri. I will give that a try this afternoon. But the data was mostly not entered via my .net-application. -

Re: [Firebird-net-provider] unexpected problem with Euro sign

2007-07-11 Thread André Knappstein , Controlling
Damn, I missed, that you're not inserting (but the connection string should be changed at all). What exception you get? No problem, because for the nearest future I definitely do plan to insert data via the (new) .net application. I am doing the latest tests and now stumbled over that

Re: [Firebird-net-provider] unexpected problem with Euro sign

2007-07-11 Thread André Knappstein , Controlling
Now you got me, Jiri :) I have once and never again used ISQL when I started converting DBF to Firebird 4 years ago. If I need to use it to make further tests, I will get the documents and use it. Carlos' Answer might be helping out as well, thanks. ~~~Ihre Nachricht~~~ JC It's definetely

Re: [Firebird-net-provider] unexpected problem with Euro sign

2007-07-11 Thread André Knappstein , Controlling
Thanks for the answer, Carlos. So, I should use Win1252 and be well? That's not too big a problem. I have about 300 tables, but most of the objects do not override the database's charset. Can I change the database's charset by restoring a backed up db into an (empty) database with another

Re: [Firebird-net-provider] Enhacement for FBCommand

2007-06-27 Thread André Knappstein , Controlling
Paul, I still did not find a way to reply to this mail-list thingy from behind our proxy, so I hope this message will get through to you. The function you wish for does not belong into a command-feature or new method, but you can easily implement it yourself. To do that, connect with sufficient

Re: [Firebird-net-provider] Enhacement for FBCommand

2007-06-27 Thread André Knappstein , Controlling
In addition I think I remember that only with classic server engine a listed stored proc is active already for the next connection to the database. JC What do you mean with listed? If I create a new SP, I will find it then listed in RDB$Procedures. On ClassicEngine, next user will be able to

Re: [Firebird-net-provider] Parameterized Query

2007-04-19 Thread André Knappstein , Controlling
Peter, not an expert myself, but in your code I am missing a statement like: daDuePacks.SelectCommand = FbCmdDuePacks; so far you are setting the parameter to the command-object, and to the adapter-object you are just copying the select command text. Don't know if that is the culprit in your

Re: [Firebird-net-provider] Parameterized Query

2007-04-19 Thread André Knappstein , Controlling
information to improve my PD understanding of this? PD Thanks for your time, PD Peter. PD -Original Message- PD From: [EMAIL PROTECTED] PD [mailto:[EMAIL PROTECTED] On Behalf Of PD André Knappstein, Controlling PD Sent: Thursday, 19 April 2007 6:15 PM PD To: firebird-net-provider