Subject Re: isql v2.1.2 doesn't open database with alias
Author mirjua62
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@...> wrote:
>
> > > C:\MirJua\Des\AdmNeg\Fnt\fdb>isql -u sysdba -pas masterkey -page 60
> > AdmNeg
> > > Statement failed, SQLCODE = -902
> > > I/O error for file "C:\MIRJUA\DES\ADMNEG\FNT\FDB\ADMNEG"
> > > -Error while trying to open file
> > > -The system cannot find the file specified.
> > > Use CONNECT or CREATE DATABASE to specify a database
> > >
> > > In the command I'm using the alias, so I can't understand what's the
> > problem!
> > >
> > > What's wrong?
> >
> > Let me guess: you forgot to add your alias into aliases.conf?
> >
> > SY, SD.
>
>
> Dimitry,
> if it responded with the full path in the error, surely it has resoved the
> alias?
> > > I/O error for file "C:\MIRJUA\DES\ADMNEG\FNT\FDB\ADMNEG"
>
> Alan
>

No, it's the path in wich is placed the command prompt
It's assuming that the databvase file is AdmNeg without extension. It's not resolving the path from the alias.conf
What's strange is that it worked fine from flamerobin