[Firebird-net-provider] I get error when i try to assign connectionstring setting to FBConnection

2007-01-08 Thread Mercea Paul
Hi Using VS2005 C# and Firebird .Net provider 2.0.1. I put on form FbConnection and I try to use from ApplicationSettings the ConnectionString property to select my configured connection string and I get this error: Object of type

Re: [Firebird-net-provider] I get error when i try to assign connectionstring setting to FBConnection

2007-01-08 Thread Mercea Paul
I installed Firebird .Net provider 2.1.0 Beta 1. I get same error. Mercea Paul wrote: I put on form FbConnection and I try to use from ApplicationSettings the Why don't you use .NET 2.0 objects to create connection? I set connection string in Properties.Settings.Default.AppConnStr (Settings

Re: [Firebird-net-provider] I get error when i try to assign connectionstring setting to FBConnection

2007-01-08 Thread Mercea Paul
-provider] I get error when i try to assign connectionstring setting to FBConnection Mercea Paul wrote: I don't mean FBTableAdapter. TableAdapter get his connection from fbconnection1. Try this. In your project on Settings define new setting as ConnStr, type (ConnectionString) and put your

Re: [Firebird-net-provider] I get error when i try to assign connectionstring setting to FBConnection

2007-01-09 Thread Mercea Paul
Hi Carlos I sended to Jiri address! Thanks, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Guzmán Álvarez Sent: Tuesday, January 09, 2007 4:22 PM To: For users and developers of the Firebird .NET providers Subject: Re:

[Firebird-net-provider] Can I get path to database on Backup?

2007-01-11 Thread Mercea Paul
Hi I am using aleases for fb database like this: Dboperation=D:\database\operation.fdb I make conection like : connectionString=data source=192.168.1.250;initial catalog= Dboperation;user id=SYSDBA;password=masterkey If I make backup like fbbsvc.ConnectionString = connectionString;

Re: [Firebird-net-provider] Can I get path to database on Backup?

2007-01-11 Thread Mercea Paul
the backup file I found in system32 folder. You can insert here the absolute path... I don't want to use absolute path, different system have different partitions for data.Maybe one more parameter, as backup file, ... There is a way to found database path on server from alias? I don't

[Firebird-net-provider] Error on geting value from stored procedure

2007-01-11 Thread Mercea Paul
Hi FB2 SS, Firebird .Net provider 2.1.0, VS2005 c#. I have in database one procedure like this: CREATE PROCEDURE SYS_GET_PARAM ( psubsystem char(3), pcode varchar(30) character set iso8859_2) returns ( pval varchar(30) character set iso8859_2) as begin select pvalue from

Re: [Firebird-net-provider] Error on geting value from stored procedure

2007-01-11 Thread Mercea Paul
Hi Carlos I try putting @ before params and I get : Additional information: arithmetic exception, numeric overflow, or string truncation I tested in dataset-Preview data, works ok, as procedure or sql. It's not working from code! -Original Message- From: [EMAIL PROTECTED]

Re: [Firebird-net-provider] Error on geting value from stored procedure

2007-01-11 Thread Mercea Paul
In tabel structure luook like VARCHAR(30) CHARACTER SET ISO8859_2 COLLATE ISO8859_2. This could be the problem? I do I try to modify to none! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Guzmán Álvarez Sent: Thursday, January 11, 2007

Re: [Firebird-net-provider] Error on geting value from stored procedure

2007-01-11 Thread Mercea Paul
Carlos I try putting @ before params and I get : Additional information: arithmetic exception, numeric overflow, or string truncation I tested in dataset-Preview data, works ok, as procedure or sql. It's not working from code! What is the character set you are using ?? I have

Re: [Firebird-net-provider] Wrong parameter declaration

2007-01-11 Thread Mercea Paul
Mercea Paul wrote: I have meet same problem. SQL generated for update with designer generate error. For Autonumber fields I modify allownull to true, and is autonumber to true. For update statement, I have deleted all where blab la bla, and let only where [EMAIL PROTECTED

Re: [Firebird-net-provider] autonumber field (was: Wrong parameter declaration)

2007-01-11 Thread Mercea Paul
Let's clarify this a little. You have table with PK ID, the ID is generated by generator in trigger, right? If you insert the row into grid you get error because ID is null, right? Right! - Take Surveys. Earn Cash.

Re: [Firebird-net-provider] Error on geting value from stored procedure

2007-01-11 Thread Mercea Paul
Sorry what is the one you are using in the connection string ?? Coonection string : connectionString=data source=192.168.1.250;initial catalog=gestiny;user id=SYSDBA;password=masterkey providerName=FirebirdSql.Data.FirebirdClient /

Re: [Firebird-net-provider] autonumber field

2007-01-11 Thread Mercea Paul
Well, this is a problem by design. The MS SQL has identity, which is in fact something like autoincrement id. This is a property of column. But FB has more powerfull (OK, little bit PR) generators. But bind between column and (trigger and) generator cannot be discovered easily. So if

Re: [Firebird-net-provider] Can I get path to database on Backup?

2007-01-13 Thread Mercea Paul
Verry usefull, thanks! Mention that, it's working only if u are connected to database! Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri Cincura Sent: Saturday, January 13, 2007 2:34 PM To: For users and developers of the Firebird

Re: [Firebird-net-provider] Can I get path to database on Backup?

2007-01-13 Thread Mercea Paul
So Paul, if you need this, read FbDatabaseInfo DbId property. ;) FbDatabaseInfo DbId works...if connection is open or zou get error messageAdditional information: Connection must valid and open Returned info looks strange: CPTPAUL.cptpaul:C:\DATABASE\dev.FDB And my connection looks like data

Re: [Firebird-net-provider] Can I get path to database on Backup?

2007-01-13 Thread Mercea Paul
Returned info looks strange: CPTPAUL.cptpaul:C:\DATABASE\dev.FDB And my connection looks like data source=192.168.1.250;initial catalog=gestiny;user id=SYSDBA;password=masterkey. Seems like is some dns reverse and get my computer name...:D Try ipconfig /all, there you will see

Re: [Firebird-net-provider] Distributing app with embedded Firebird 2.0 for dummies

2007-01-15 Thread Mercea Paul
Hi You cant think to have a function in your exe who verify if exist all dependencies. If user download your exe, if does not have all *.dll you can download that file. If you make new version of your application, user download only exe , not 'all' files. Regards, Paul From: [EMAIL

Re: [Firebird-net-provider] Can't enter my database parameters

2007-01-19 Thread Mercea Paul
I was getting in same problem few months. It was something from registry!!! I deleted all registry info for provider and after that reinstall the provider! Try to reinstall Firebird .Net data provider version 2.1.0 beta http://prdownloads.sourceforge.net/firebird/FirebirdClient-2.1.0-Beta1.exe?d

Re: [Firebird-net-provider] Can't enter my database parameters

2007-01-19 Thread Mercea Paul
This happens because it's bad registry settings. U need to relete these settings, and reinstall the provider. For me works. Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex PAJON Sent: Friday, January 19, 2007 3:38 PM To: 'For

Re: [Firebird-net-provider] Design Time - Invalid connection string

2007-01-29 Thread Mercea Paul
Connection string should looks like: connectionString=data source=server_name_or_ip;initial catalog=database_name;user id=SYSDBA;password=masterkey providerName=FirebirdSql.Data.FirebirdClient Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Firebird-net-provider] Problems with DDEX

2007-02-05 Thread Mercea Paul
Did you have modify machine.config? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Félix González Sent: Monday, February 05, 2007 8:49 PM To: firebird-net-provider@lists.sourceforge.net Subject: [Firebird-net-provider] Problems with DDEX Hi, I´ve VS2005 profesional,

Re: [Firebird-net-provider] FbParameters

2007-02-07 Thread Mercea Paul
For am hitting an SP which contains 20 return parameters. for this particular routine i only need to return data from 3 of the 20 return parameters. i can achieve this by manually constructing an sql like this: SELECT ColumnA, ColumnB, ColumnC FROM sp_1(?). Yes, you can do this ! Command should

[Firebird-net-provider] Please ignore - test

2007-02-13 Thread Mercea Paul
Please ignore - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash

Re: [Firebird-net-provider] query parameters

2007-02-13 Thread Mercea Paul
Firebird runs query like this: select * from table where field is null This is the case? Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Guzmán Álvarez Sent: Tuesday, February 13, 2007 8:32 PM To: For users and developers of

Re: [Firebird-net-provider] Big performance issue

2007-02-16 Thread Mercea Paul
Just a hint... Have you tested passing parameter? Select *... where cc.id = @id_par Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sylvain Sent: Friday, February 16, 2007 1:27 PM To: firebird-net-provider@lists.sourceforge.net

Re: [Firebird-net-provider] Connection string enhancing

2007-02-27 Thread Mercea Paul
If I remember well for Windows is known the order of searching DLL file. First step is to search application path, after that system library path (system32) after that OS path (Windows or WINNT). You can deliver your application with fbclient library you want/need in application path! Correct me

Re: [Firebird-net-provider] Îòã: Running para metrised query

2007-03-01 Thread Mercea Paul
value without knowing param name, only his position sql statement! Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Intelrullz Sent: Thursday, March 01, 2007 6:34 PM To: Mercea Paul Subject: [Firebird-net-provider] Îòã: Running

Re: [Firebird-net-provider] un-supported disk structure

2007-03-01 Thread Mercea Paul
Hi Just a hint, I think you need to verify gds32.dll version from system32 . If you made all operations on that machine, could you have the old gds32.dll from previos IB6 instalation. Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [Firebird-net-provider] Provider hangs

2007-03-06 Thread Mercea Paul
I can't reproduce the error! Tested with FB1.5.4 and 2.0.1 and works! Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sasha Sent: Tuesday, March 06, 2007 1:31 PM To: firebird-net-provider@lists.sourceforge.net Subject: Re:

[Firebird-net-provider] Advice to design application

2007-03-06 Thread Mercea Paul
Hi Scenario is this.VS2005 C# and FB2.0. I have created an utility for backoffice management .This utility is for administrators (application administrators) and intend to access some operations unavailable from back office interface.Some operations are directly on database (FB 2.0 SS) others

Re: [Firebird-net-provider] Provider hangs

2007-03-06 Thread Mercea Paul
Hi sasha You can see that screenshots at http://article.gmane.org/gmane.comp.db.firebird.russian/17822 What tool did you use there? Regards, Paul - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [Firebird-net-provider] reclaim space from deleted records

2007-03-28 Thread Mercea Paul
No, you can't! Deleted records space cannot be take back. Only back-up and restore can do that. From your example is not quite normal to have this difference between database before backup and databse after restore. Please take a look to your database statistic at: Generation

Re: [Firebird-net-provider] Membership providers

2007-05-07 Thread Mercea Paul
I would create a upgrade script for new tables! There's not to mouch table to modify applications in month... With VS It could be made in minutes (upgrade from old to new tables) Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri

Re: [Firebird-net-provider] Issue with .net provider to work with a Firebird generator

2007-05-08 Thread Mercea Paul
Why you need to know generator value before insert? Regards, Paul From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kai Bohli Sent: Monday, May 07, 2007 9:17 PM To: For users and developers of the Firebird .NET providers Subject: [Firebird-net-provider] Issue with .net

Re: [Firebird-net-provider] Issue with .net provider to work with a Firebird generator

2007-05-08 Thread Mercea Paul
] [mailto:[EMAIL PROTECTED] On Behalf Of Mercea Paul Sent: 8. mai 2007 13:13 To: 'For users and developers of the Firebird .NET providers' Subject: Re: [Firebird-net-provider] Issue with .net provider to work with a Firebird generator Why you need to know generator value before insert? Regards

Re: [Firebird-net-provider] Firebird Firewall Warning

2007-05-08 Thread Mercea Paul
How is your connection string? Servername:databse or serverip:database? Regards, Paul From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Smith Sent: Tuesday, May 08, 2007 6:35 PM To: For users and developers of the Firebird .NET providers Subject: [Firebird-net-provider]

Re: [Firebird-net-provider] FbCommand: CommandTimeout no effect and Cancel() not supported?

2007-05-10 Thread Mercea Paul
Query cancelation will be in FB 2.1 as I know! Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jan Bofinger Sent: Thursday, May 10, 2007 5:00 PM To: firebird-net-provider@lists.sourceforge.net Subject: [Firebird-net-provider]

Re: [Firebird-net-provider] SQL error - Different windows user accounts

2007-05-14 Thread Mercea Paul
If u can't debug, put into a log file and write every step! Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, May 14, 2007 12:50 PM To: For users and developers of the Firebird .NET providers

Re: [Firebird-net-provider] Short char field with longer name returns padded

2007-06-01 Thread Mercea Paul
Try this: Select Type from TableName Type is reserved word as I remember. Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Cooperstock Sent: Thursday, May 31, 2007 10:27 PM To: firebird-net-provider@lists.sourceforge.net Subject:

[Firebird-net-provider] Enhacement for FBCommand

2007-06-26 Thread Mercea Paul
Hi I face with this situation: Some customers want to have reports or export 'patterns' from fb database. For that I have some possibilities as sql query or stored procedures. For query I make all by code. For stored procedures I have 2 situation, first, SP exist in database, second SP not

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

2007-06-27 Thread Mercea Paul
Thank you all for responses! Anyway, 2 query is needed to get the results. 1 to see if SP exist 1 to run. Best is to have a stored proc or function to give a true or false result for me. Thanks again, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Firebird-net-provider] New releases

2007-07-02 Thread Mercea Paul
Hi Carlos, Jiri Could Fb.Net Provider have release number specific to Firebird server? If Current provider support all facilities for FB 2.1 Beta 1, could have same release number as fb server (2.1)? It's more easy to know what provider is compatible with witch server! Maybe I'm wrong... Best

Re: [Firebird-net-provider] New releases

2007-07-05 Thread Mercea Paul
Oleg Deribas wrote: Hello, So, _unless_ there is coordinated release plan for the whole Firebird Project _and_ the release dates will be met by all subproject under any condition, tieing the driver release numbers to the Firebird RDBMS release numbers is not reallistic. Roman I

Re: [Firebird-net-provider] Visual C# andFirebirdembeddeddatabase connection failure

2007-07-19 Thread Mercea Paul
Try rename fbembed.dll into fbclient.dll and try again! Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob K. Sent: Thursday, July 19, 2007 7:34 PM To: For users and developers of the Firebird .NET providers Subject: Re:

Re: [Firebird-net-provider] [PHISH] Re: Visual C#andFirebirdembeddeddatabase connection failure

2007-07-19 Thread Mercea Paul
-provider] [PHISH] Re: Visual C#andFirebirdembeddeddatabase connection failure Paul, renaming didn't change anything. - Original Message - From: Mercea Paul [EMAIL PROTECTED] To: 'For users and developers of the Firebird .NET providers' firebird-net-provider@lists.sourceforge.net

Re: [Firebird-net-provider] Update of Visual Studio solition/project files on svn trunk

2007-08-04 Thread Mercea Paul
Can't be made a 'copy' of sln file? Like FirebirdSql.Data.FirebirdClient2008.sln! Like that it can be open with both VS !!! Best Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Guzmán Álvarez Sent: Saturday, August 04, 2007

Re: [Firebird-net-provider] Update of Visual Studio solition/project files on svn trunk

2007-08-04 Thread Mercea Paul
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri Cincura Sent: Saturday, August 04, 2007 9:13 PM To: For users and developers of the Firebird .NET providers Subject: Re: [Firebird-net-provider] Update of Visual Studio solition/project files on svn trunk On 8/4/07, Mercea Paul [EMAIL

Re: [Firebird-net-provider] OT: Firebird built-in function list

2007-08-04 Thread Mercea Paul
Do you meen something like UDF\ib_udf.sql and fbudf.sql??? In FB2.1 in udf dir is ib_udf2.sql and fbudf.sql with new ones! Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Guzmán Álvarez Sent: Saturday, August 04, 2007 5:00 PM

Re: [Firebird-net-provider] Easy way to know the idkey of a registry just inserted?

2007-12-14 Thread Mercea Paul
Hi Why don't you use a stored procedure for this? For FB2.X in doc section in README.returning.txt you can find this: INSERT INTO T2 (F1, F2) VALUES (1, 2) RETURNING ID INTO :PK; This return desired value, that you can insert in second table! Regard's Paul -Original

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

2008-02-06 Thread Mercea Paul
Hi If you use IBExpert,DBWorkbench,FlameRobin,ISQL or another tool can you run without errors the select command on vpn network? Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Castillo Sent: Wednesday, February 06, 2008 4:21 AM

Re: [Firebird-net-provider] Entity Framwork

2008-02-19 Thread Mercea Paul
Hi all A good start is here: http://msdn2.microsoft.com/en-us/library/aa697428(VS.80).aspx Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramacher, Steve Sent: Tuesday, February 19, 2008 6:53 PM To:

[Firebird-net-provider] Compilation error

2008-02-25 Thread Mercea Paul
Hi all I have updated Firebird Client from svn and I try to build with VS2008 but I get this errors: Error 2 'FirebirdSql.Data.FirebirdClient.FbProviderServices.GetDbInformation(string, System.Data.Common.DbConnection)': no suitable method found to override

Re: [Firebird-net-provider] Why FbDataReader.HasRows returns always true?

2008-02-28 Thread Mercea Paul
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aitor Gómez González Sent: Thursday, February 28, 2008 1:51 PM To: For users and developers of the Firebird .NET providers Subject: Re: [Firebird-net-provider] Why FbDataReader.HasRows returns

Re: [Firebird-net-provider] Why FbDataReader.HasRows returns always true?

2008-02-28 Thread Mercea Paul
Hi Jiri Cancelation of query in FirebirdClient makes sense only via API. And for MON$xxx this must be done using another connection. And only on FB2.1. In fact, you can easily extend your class to do this. I don't think, this is issue of FirebirdClient until it's not in API. I have read

[Firebird-net-provider] I get error using FbScript and FbBatchExecution

2008-03-01 Thread Mercea Paul
Hi all Using VS2005, c#, FB1.5.4 and Fb.Net Provider 2.1! I try to execute from a sql file a procedure ddl using FbScript and FbBatchExecution, but I get errors in 2 situations! 1.Without FbTransaction: An exception was thrown when executing command: CREATE OR ALTER PROCEDURE REPORT_DATA (

Re: [Firebird-net-provider] I get error using FbScript and FbBatchExecution

2008-03-02 Thread Mercea Paul
Hi Jiri Are you able to run the script via isql under same connection (chraset, dialect, server, etc.)? I have run successfully from IBExpert. The sql file is the DDL statement from IBExpert. I have try to execute another sql file with domain ddl definitions and I get same error from

Re: [Firebird-net-provider] How to verify if SP exist in DB?

2008-03-03 Thread Mercea Paul
I have a procedure to verify if a SP exist in database, code looks like: Have you given a try using FbConnection.GetSchema ?? Yes, but its little complicated!I'll try to make this work with GetSchema! Regards, Paul

Re: [Firebird-net-provider] How to verify if SP exist in DB?

2008-03-03 Thread Mercea Paul
Hi Paul, it is not ExecuteScalar, that is guilty, but you ;) . Look at this code fbcommand.ExecuteScalar().ToString().Trim() think about it - if there is no procedure with such name, null will be returned. And now you try to call null.ToString(). Sure you get exception. You should check

Re: [Firebird-net-provider] I get error using FbScript and FbBatchExecution

2008-03-05 Thread Mercea Paul
I have tested with database creation...and surprise, it works: I have added : try { FirebirdSql.Data.FirebirdClient.FbConnection.DropDatabase(rtbConnection.Text ); FirebirdSql.Data.FirebirdClient.FbConnection.CreateDatabase(rtbConnection.Te xt, 8192, true, true);

Re: [Firebird-net-provider] I get error using FbScript and FbBatchExecution

2008-03-05 Thread Mercea Paul
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri Cincura Sent: Wednesday, March 05, 2008 11:20 AM To: For users and developers of the Firebird .NET providers Subject: Re: [Firebird-net-provider] I get error using FbScript and FbBatchExecution On 3/5/08, Mercea Paul [EMAIL PROTECTED

Re: [Firebird-net-provider] I get error using FbScript and FbBatchExecution

2008-03-05 Thread Mercea Paul
The results method is from FbScript class, has nothing to do with fb server. The problem is about how is read the sql file and how is processed each command! SQL file, in my case, was generated by IBExpert, on windows! I have executed Sql file with IBExpert,DBWorkbech, EMS SQL Manager, FlameRobin

Re: [Firebird-net-provider] I get error using FbScript and FbBatchExecution

2008-03-05 Thread Mercea Paul
I think, you have problem on both sides. AFAIR you're working in dialect 1, so this gives you some problems. And you have also some problems in your C# code, but I'm pretty sure, that's not provider's issue. :) I have found the problem! In my code default dialect is not specified and I

[Firebird-net-provider] I get Error when I specify ClientLibrary for embeded FB2.1

2008-03-12 Thread Mercea Paul
Hi all Using VS2005 c#, FB 2.1 embeded, Fb.Net 2.1.0 provider. I try to port some off my old application from Delphi and dbf files to c# and fbembeded. I try to keep existing folders as they are and I have added new folder for fbembeded files. When I run application I get error because

Re: [Firebird-net-provider] I get Error when I specify ClientLibrary for embeded FB2.1

2008-03-12 Thread Mercea Paul
: [Firebird-net-provider] I get Error when I specify ClientLibrary for embeded FB2.1 On 3/12/08, Mercea Paul [EMAIL PROTECTED] wrote: The code works ok for me to but only if I have fbembed.dll in the same folder as my application! But then you're not using ClientLibrary property as you said

Re: [Firebird-net-provider] I get Error when I specify ClientLibrary for embeded FB2.1

2008-03-12 Thread Mercea Paul
Eliminating '.dll' extension doesn't make any difference! Strange is the fact that I can't get in debug mode the error, I get error message before any code line to be executed! Thanks all, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri

Re: [Firebird-net-provider] I get Error when I specify ClientLibrary for embeded FB2.1

2008-03-13 Thread Mercea Paul
Hi all I have tested with latest version (2.5 alpha 2) and works ok! Thanks, Paul On 3/12/08, Mercea Paul [EMAIL PROTECTED] wrote: Strange is the fact that I can't get in debug mode the error, I get error message before any code line to be executed! This looks like your assembly

Re: [Firebird-net-provider] Peformance running a procedure

2008-03-24 Thread Mercea Paul
Your SP I would change in something like this: CREATE PROCEDURE KI_SUCHEPERSONEN_HELP2( SUCHNAME1 VARCHAR(200) CHARACTER SET WIN1252, BEREICH VARCHAR(10) CHARACTER SET WIN1252 ) AS DECLARE VARIABLE v_id as integer; BEGIN FOR select IDPerson from personen where

[Firebird-net-provider] Where from I get so many decimals?

2008-03-26 Thread Mercea Paul
Hi FB server 1.5 - 2.1 RC2,FB .Net provider 2.5, VS C# 2005 I have SP declared in database as : CREATE OR ALTER PROCEDURE Balance ( UID integer, startdate date, enddate date) returns ( UID integer, uname varchar(50), date_start date, value_start numeric(15,4),

Re: [Firebird-net-provider] suspect - [SPAM] Re: Where from I get so many decimals?

2008-03-26 Thread Mercea Paul
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean Harding Sent: Wednesday, March 26, 2008 1:28 PM To: For users and developers of the Firebird .NET providers Subject: suspect - [SPAM] Re: [Firebird-net-provider] Where from I get so many decimals? Mercea Paul wrote: If I execute

[Firebird-net-provider] Error message attempted update of read-only column

2008-04-01 Thread Mercea Paul
Hi Using FB 1.5.5 SS , FB.Net provider 2.5, VS C#2005. Database created with FB 1.5.3, ODS 10.1, Dialect 1. I have a SP which is running fine like execute procedure balance(@p1,@p2,@p3); The same database, but under FB 2.1 RC2 (17755), running same SP I get this error: base

Re: [Firebird-net-provider] suspect - [SPAM] Re: Error message attempted update of read-only column

2008-04-02 Thread Mercea Paul
Hi Jiri First try 2.1 FirebirdClient. The 2.5 has still unfinished work on 2.1 protocol changes. This can cause problems. Same FB Client (2.5) run ok on FB 1.5.5 server! I thought is a problem from ODS structure ... but isn't! Regards, Paul

Re: [Firebird-net-provider] suspect - [SPAM] Re: Error message attempted update of read-only column

2008-04-02 Thread Mercea Paul
Hi Hellen, In Firebird 2 and higher you will get this exception if you have an AFTER trigger that attempts to update a column in the table that owns the trigger. That table have 5 triggers, 3 for Before Insert, 1 for Before Delete and 1 for Before Update. If I deactivate trigger from

Re: [Firebird-net-provider] suspect - [SPAM] Re: suspect - [SPAM] Re: Error message attempted update of read-only column

2008-04-02 Thread Mercea Paul
Then your Before Delete trigger probably has a reference to NEW.something. It is invalid in a delete trigger. Trigger ddl is: CREATE OR ALTER TRIGGER RPL_doc_invoice_BDEL FOR doc_invoice ACTIVE BEFORE DELETE POSITION 1000 as declare variable v_repl char(1); begin v_repl='N'; select

Re: [Firebird-net-provider] Error message attempted update of read-only column

2008-04-03 Thread Mercea Paul
Of course not. A deleted record is, well, DELETED. If you want to modify the record, then use UPDATE, not DELETE! ;-) The migration FB 2.X will be very difficult! This thread has become totally off topic for the net-provider forum but I must say I'm curious to know what you thought you

[Firebird-net-provider] Service API and nbackup

2008-04-20 Thread Mercea Paul
Hi Is there a way to specify for Backup service to use nbackup and make incremental backup? Regards, Paul - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's

Re: [Firebird-net-provider] Service API and nbackup

2008-04-20 Thread Mercea Paul
On 4/20/08, Mercea Paul [EMAIL PROTECTED] wrote: Is there a way to specify for Backup service to use nbackup and make incremental backup? No. AFAIK nbackup isn't available thru Service API. Nether I can find any link to api for nbackup..hope you know more! This is a bad news...back

Re: [Firebird-net-provider] Service API and nbackup

2008-04-20 Thread Mercea Paul
21/04/2008, Mercea Paul wrote: On 4/20/08, Mercea Paul [EMAIL PROTECTED] wrote: Is there a way to specify for Backup service to use nbackup and make incremental backup? No. AFAIK nbackup isn't available thru Service API. Nether I can find any link to api for nbackup..hope you know

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

2008-06-03 Thread Mercea Paul
yes, after 20 May I get all messages twice! Bernhard Fischer wrote: Same here - I'm pretty sure that I suscribed only once, but I also get = the messages twice. This seems to happen since end of May or so. Bernhard Hi How can I get only 1 copy of news message and not 2 of them? The

Re: [Firebird-net-provider] crystal report problem

2008-06-02 Thread Mercea Paul
Try to do something like this: 1. Populate your datatable dt and then ReportDocument rpt = new Rpt.rptD (); rpt.SetDataSource((DataTable)dt); Form frm_rpt = new frmReport(rpt); frm_rpt.ShowDialog(); Regards, Paul From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

[Firebird-net-provider] all news are duplicated

2008-06-02 Thread Mercea Paul
Hi How can I get only 1 copy of news message and not 2 of them? The list admin can delete one subscription , if I have 2 with same e-mail??? I have unsubscribed and subscribed to ensure I'm just once registered.but always I get a duplicate for each message on this news group! Regards, Paul

Re: [Firebird-net-provider] crystal report problem

2008-06-02 Thread Mercea Paul
Hi Rakesh Show us your connection string ! Regards, Paul From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kixzo Database Team Sent: 02 June 2008 14:14 To: firebird-net-provider@lists.sourceforge.net Subject: [Firebird-net-provider] crystal report problem Hello All,

Re: [Firebird-net-provider] crystal report problem

2008-06-03 Thread Mercea Paul
Hi Your report try to connect and get data ..you don't need that, you have already populated your table! All you need to do is to pass the tables to your report! Try to run your code after comment this lines conninfo.ServerName = pc205; conninfo.DatabaseName =

Re: [Firebird-net-provider] execute store_procedure from application

2008-06-04 Thread Mercea Paul
Have you declared strlen? DECLARE EXTERNAL FUNCTION STRLEN CSTRING(32767) RETURNS INTEGER BY VALUE ENTRY_POINT 'IB_UDF_strlen' MODULE_NAME 'ib_udf'; Regards, Paul From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 04 June 2008 08:29 To:

[Firebird-net-provider] Web provider - sql file

2008-06-14 Thread Mercea Paul
Hi Jiri I found few errors : 1.In FbMembershipProvider2.0.sql: There is one extra space in PK_USERS name ALTER TABLE USERS ADD CONSTRAINT PK_ USERS PRIMARY KEY (PKID); In procedure CREATE PROCEDURE MEMBERSHIP_DELETEUSER ( Comment line DELETE FROM USERSINROLES WHERE USERS There's no

[Firebird-net-provider] web application sample

2008-06-17 Thread Mercea Paul
Hi Jiri Do you have some sample project about how can I use CreateUserWizard and all other components from Login Tab from Tools in VS 2005/2008! I have configured Membership provider and role provider but I get always errors on execution! TIA Paul

Re: [Firebird-net-provider] web application sample

2008-06-17 Thread Mercea Paul
] On Behalf Of le roy arnaud Sent: 17 June 2008 17:29 To: firebird-net-provider@lists.sourceforge.net Subject: Re: [Firebird-net-provider] web application sample Jiri Cincura wrote: On Tue, Jun 17, 2008 at 3:58 PM, Mercea Paul [EMAIL PROTECTED] wrote: Do you have some sample project about

Re: [Firebird-net-provider] web application sample

2008-06-18 Thread Mercea Paul
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mercea Paul Sent: 17 June 2008 21:27 To: [EMAIL PROTECTED]; 'For users and developers of the Firebird .NET providers' Subject: Re: [Firebird-net-provider] web application sample Hi Arnaud Something is wrong

[Firebird-net-provider] Firebird web provider - session table

2008-06-18 Thread Mercea Paul
Hi In session table LOCKED field is BOOL type (domain bool)? Can be made domains for all fields?Can I provide a script for this? Best regards, Paul - Check out the new SourceForge.net Marketplace. It's the best place to buy

Re: [Firebird-net-provider] Firebird web provider - session table

2008-06-18 Thread Mercea Paul
Of Jiri Cincura Sent: 18 June 2008 17:09 To: For users and developers of the Firebird .NET providers Subject: Re: [Firebird-net-provider] Firebird web provider - session table On Wed, Jun 18, 2008 at 4:00 PM, Mercea Paul [EMAIL PROTECTED] wrote: Can be made domains for all fields?Can I

Re: [Firebird-net-provider] Firebird web provider - session table

2008-06-18 Thread Mercea Paul
You can create script for FB2.1 where you can use domains in SPs. [PM] Isn't more simple if I extract metadata for an empty database? This way every one can create a database with all domain, tables, SP! Jiri {x2} Cincura (CTO x2develop.com) http://blog.vyvojar.cz/jirka/ |

[Firebird-net-provider] Firebird web provider

2008-06-19 Thread Mercea Paul
Hi all I have few propositions about SP for web provider 1. In ROLES_ISUSERINROLE and ROLES_ISEXISTS is : SELECT first(1) 1 FROM table INTO :RES; I propose to change this to : IF (EXISTS(SELECT 1 FROM table)) then RES=1; 2 SQL Statement like : select

[Firebird-net-provider] Error on building manually FB Provider

2008-07-20 Thread Mercea Paul
Hi I try to build manually FB provider from NETProvider\build\win32\ado.net\build.bat but I get error in build.log: [csc] d:\ProjectsCVS\FireBird\NETProvider\trunk\NETProvider\source\FirebirdSql\Dat a\Common\Charset.cs(25,14): error CS0234: The type or namespace name 'Linq' does not exist

Re: [Firebird-net-provider] New in Firebird

2008-08-01 Thread Mercea Paul
There is no logic to do this in one SP.. Select * from DoSomething will return a dataset corresponding for your output parameters! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Javier Lozano Sent: Friday, August 01, 2008 8:10 AM To:

Re: [Firebird-net-provider] Firebird .net + ZeBeDee + Events

2008-08-07 Thread Mercea Paul
As I remember you can set the event port in firebird.conf...at least in FB 2.1 # # The TCP Port Number to be used for server Event Notification # messages. The value of 0 (Zero) means that the server will choose # a port number randomly. # # Type: integer # #RemoteAuxPort = 0 Best regards, Paul

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

2008-08-26 Thread Mercea Paul
ON (d.InvoiceID = i.InvoiceID) join InvoicePayment p ON (p.InvoiceID = i.InvoiceID) where (i.InvoiceID = :InvoiceID) group by i.SiteID, i.InvoiceID order by i.SiteID, i.InvoiceID Regards, Paul From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mercea Paul Sent: Wednesday, August

Re: [Firebird-net-provider] How / Can i detect the pagesize with fbprovider 2.x?

2008-09-03 Thread Mercea Paul
I think you can try with FbDatabaseInfo.PageSize !!! Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Möhle Sent: Wednesday, September 03, 2008 5:51 PM To: firebird-net-provider@lists.sourceforge.net Subject:

Re: [Firebird-net-provider] VS2008 DDEX probem

2008-09-04 Thread Mercea Paul
Try with FirebirdDDEXProviderPackageLess32 if you don't have VS SDK installed! Regards, Paul From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Nylund Sent: Thursday, September 04, 2008 11:44 AM To: Firebird-net-provider@lists.sourceforge.net Subject:

Re: [Firebird-net-provider] Roadmap

2008-09-04 Thread Mercea Paul
Hi I'm using 2.5 all ready in several projects. As I know, 2.5 will provide .net entity provider ... Do you need something else? Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tetram Corp Sent: Thursday, September 04, 2008 3:16 PM

Re: [Firebird-net-provider] install ddex 2.0.3 in vs2008 Team

2008-09-06 Thread Mercea Paul
After install you'll find README.TXT in firebird client ddex folder ! If this not helpful enough ask more help here! Regards, Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Freddy Caballero Sent: Saturday, September 06, 2008 4:49 AM To:

  1   2   >