Re: [firebird-support] Cannot open database file in local hard disk

2018-02-20 Thread Marsupilami79 marsupilam...@gmx.de [firebird-support]
Hello Eduardo,

you might want to check the setting DatabaseAccess in firebird.conf. If
it is set to None or Restrict for some reason the behaviour you describe
can happen.

Best regards,

Jan

Am 20.02.2018 um 14:57 schrieb Eduardo guse...@gmail.com [firebird-support]:
>  
>
> Hello:
>
> I use Firebird 2.1 and in some computers I cannot open a database file
> which is in the local hard disk.
>
> For example, let's suppose I have the database C:\Test\MYDATABASE.FDB
> and I try to open it with IB_SQL (from IBObjects).
>
> If I use C:\Test\MYDATABASE.FDB I get "unavailable database".
> If I use SERVERNAME:C:\Test\MYDATABASE.FDB I get "unavailable database".
> If I use \\SERVERNAME\C:\Test\MYDATABASE.FDB I get "unavailable database".
>
> If I modify firebird.conf creating the alias
> MYDATABASE=C:\Test\MYDATABASE.FDB, then using MYDATABASE I can open
> the database.
>
> In almost every computer with any Windows version (XP, 7, 10, 2003,
> 2008, 2012, 2016) I can open the database using every one of the four
> methods, but in some computers the first three methods return
> "unavailable database" and I can open the database only using an
> alias. Now I am having the problem in a computer with Windows Server
> 2008 R2 Standard with Service Pack 1, but I remember having this
> problem in other computers from time to time.
>
> Any ideas of which may be the reason? ... and the solution?
>
> Thanks in advance. Regards
>
> Eduardo
>
>
> 
>   Libre de virus. www.avast.com
> 
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> 



[firebird-support] fbclient: What to do after "Error readin / writing data to/ from the connection"

2017-07-25 Thread Marsupilami79 marsupilam...@gmx.de [firebird-support]
Hello,

some of my client seemingly have a faulty network and get the following errors 
ocassionally when running my program while it tries to execute a query:

Error writing data to the connection.
Error reading data from the connection.

What do I have to do from an fbclient point of view to gracefully close the 
connection and release all ressources? Is this even the right list to ask these 
questions?

With best regards,

Jan



Re: [firebird-support] Is this a bug of Firebird?

2017-02-09 Thread Marsupilami79 marsupilam...@gmx.de [firebird-support]
Hmm - Delphi and Free Pascal do exactly that - they emit a warning, that
the first assigned value never gets used.

Am 09.02.2017 um 10:30 schrieb Tim Ward t...@telensa.com [firebird-support]:
>  
>
> It' the equivalent in a conventional programming language of saying:
>
> x = a;
> x = b;
>
> where the compiler is expected to know that neither a not the first
> assignment have any side effects other than the assignment (and where
> the expression b doesn't depend on the value of x)(and where x isn't
> volatile, ect ect).
>
> A compiler *could* detect and warn about such things (ie it's not
> forbidden by the laws of mathematics) but I don't think I know of any
> that do. And as there are good reasons for deliberately wanting to do
> the above it could only be a warning, not an error.
>
> On 08/02/2017 23:36, 'Walter R. Ojeda Valiente'
> sistemas2000profesio...@gmail.com [firebird-support] wrote:
>>  
>> The error is of the programmer, I agree with you, but to repeat the
>> name of a variable without the Firebird showing any message of error
>> is, at least for me, a bug.
>>
>> To have 2 or more variables with the same name after the INTO clause
>> is useless. The compiler can be smart enough to detect such thing.
>>
>> Or not?
>>
>> Greetings.
>>
>> Walter.
>>
>> On Wed, Feb 8, 2017 at 2:36 PM, 'Leyne, Sean'
>> s...@broadviewsoftware.com [firebird-support]
>> > > wrote:
>>
>>  
>>
>>
>>
>> > Yes, but I can not know the value of the column X.ALU_NOMBRE
>> >
>> > And the idea, of course, is know that value, that's why it
>> appears in the FOR
>> > SELECT. If not, I can do nothing with X.ALU_NOMBRE
>>
>> You are asking for the system to evaluate the *intent* of logic.
>>
>> That is completely outside the purview of any application
>> environment that I know.
>>
>> The only thing that a system can check/enforce is the correctness
>> of the code, not to check whether the developer has 2 brain cells.
>>
>>
>> Sean
>>
>>
>
>
> -- 
> Tim Ward
> 



Re: [firebird-support] Firebird for Android

2017-01-17 Thread Marsupilami79 marsupilam...@gmx.de [firebird-support]
Hello,

it has been my plan to test firebird for Android during the next week.
There seems to be a small howto on building Firebird for Android:
http://mapopa.blogspot.de/2013/09/building-firebird-client-for-android.html
My aim would be to see wether there is an embedded database already.

Also I seem to remember that the changes for Firebird 3.0.2 contain two
lines about Android.

With best regards,

Jan

Am 16.01.2017 um 12:18 schrieb vi...@t-online.hu [firebird-support]:
>  
>
> Hi to All
>
>
> Any (secret) information above Firebird for Android version?
>
>
> Next month?
>
> Next year?
>
> Next century?
>
>
> 



Re: [firebird-support] Incorrect values within SQLDA structure SQLDA version expected between 1 and 1, found 0 when using Firebird 3.0 client with older (BDE) programa

2016-07-14 Thread Marsupilami79 marsupilam...@gmx.de [firebird-support]
Am 14.07.2016 um 13:35 schrieb Dimitry Sibiryakov s...@ibphoenix.com
[firebird-support]:
> 14.07.2016 13:33, jonatan.laurit...@yahoo.dk [firebird-support] wrote:
>> Is this bug in Firebird 3.0 client and is there workaround?
>This is a bug in BDE and you must ask for workaround at Embarcadero 
> support.
The problem there would be that the BDE has reached its end of life for
some years now...