|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Aliases.conf
Hello,
I use Rad 2007 with FIBPlus and I defined a new path in the aliases.conf like that db1 = e:\data\my app\db\mydb.fdb I try to access the database like this localhost:db1 but never worked I always get error message "connection authoriation failure file is not a valid database" any advice ? |
|
#2
|
|||
|
|||
|
Maybe you need quotes around the filename (because of the space in "my app").
Alternatively you can try to move the file to a path without a space in the directory names |
|
#3
|
|||
|
|||
|
this dont make sense because customers will install the app any where I cant force them to use specific folder
I use FIBPlus by the way and it register aliases in the registry and it seems it did not read them from aliases.conf |
|
#4
|
|||
|
|||
|
I just tried this with my Firebird (2.0) installation and having a space in the file name (or path) doesn't seem to be a problem (even without quotes).
Are the permissions set correctly, so that the firebird server (or your application if you are using embedded firebird) can actually write to that file? Is e: a real hard disk or a network drive? As far as I remember FB cannot use files on a network drive. |
|
#5
|
|||
|
|||
|
e is not a network H.D and no permission problem
|
|
#6
|
|||
|
|||
|
maybe you can try like this 127.0.0.1:db1
|
|
#7
|
|||
|
|||
|
thanks alot it work fine now after downloading latest firebird version
2.1 I also make sure to allow access for FB in my firewall, Firebird and Firewall they dont like each other ![]() |
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Aliases.conf |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|