Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old April 15th, 2008, 10:48 AM
isaac_cm isaac_cm is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 14 isaac_cm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 29 sec
Reputation Power: 0
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 ?

Reply With Quote
  #2  
Old April 15th, 2008, 11:39 AM
shammat shammat is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 970 shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 17 h 38 m 15 sec
Reputation Power: 57
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

Reply With Quote
  #3  
Old April 15th, 2008, 02:47 PM
isaac_cm isaac_cm is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 14 isaac_cm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 29 sec
Reputation Power: 0
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

Reply With Quote
  #4  
Old April 15th, 2008, 04:32 PM
shammat shammat is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Munich, Bavaria
Posts: 970 shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level)shammat User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 17 h 38 m 15 sec
Reputation Power: 57
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.

Reply With Quote
  #5  
Old April 15th, 2008, 04:39 PM
isaac_cm isaac_cm is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 14 isaac_cm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 29 sec
Reputation Power: 0
e is not a network H.D and no permission problem

Reply With Quote
  #6  
Old April 22nd, 2008, 06:32 AM
dirinler dirinler is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 13 dirinler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 21 m 25 sec
Reputation Power: 0
maybe you can try like this 127.0.0.1:db1

Reply With Quote
  #7  
Old April 22nd, 2008, 07:33 AM
isaac_cm isaac_cm is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 14 isaac_cm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 29 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Aliases.conf


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway