>   On 03/20/12 12:12, Thomas Steinmaurer wrote:
>> Hello,
>>
>> running Firebird 3 64-bit (Build: 29857) on Windows 7 with:
>>
>> firebird.exe -a -p 4051
>>
>>
>> While a single attachment to a database works, the second attachment
>> fails with:
>>
>> I/O error during "CreateFile (open)" operation for file "tourism.fdb"
>> Error while trying to open file The process cannot access the file
>> because it is being used by another process.
>>
>>
>> This is with no changes (being commented out) for the SharedCache and
>> SharedDatabase parameters. The same thing happens when explicitly
>> setting the parameter values for SS mode etc. Yes, I restarted the
>> server after changing firebird.conf.
>>
>> Is this a known issue?
>
> Yes, you should start with -m switch.
> (I start to think - probably -m should be default when
> SharedDatabase=false ?
> Or we will have such questions too many times.)

Excactly. Whatever needs to be done that Firebird defaults to allowing 
multiple attachments to the same database out-of-the box. ;-)

People coming from 2.5 SC might be used to the -m switch anyway and 
possibly providing that switch, even if they don't know if it is still 
supported in V3.

Regards,
Thomas

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to