|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Run embedded Firbird from a CD
I have made a program in VB.NET connected to an embedded firebird database. Now I want the program to be able to run directly from a CD.
The problem is when i connect to the db running from a CD I get this error message: "No permission for read-write access to database..." I guess that because firebird want's to lock the database when viewing and that not possible on a CD. So is there a way to open the db in read only mode or something so it will be possible to run directly from a cd. Thanks! /Patrik |
|
#2
|
|||
|
|||
|
Quote:
Just restore your database as Read only using gbak before burning cd ![]() Here is syntax for gbak: http://www.volny.cz/iprenosil/inter...ak_switches.htm -- Best regards, Fikret Hasovic http://fikret.fbtalk.net USAID TAMP Senior Programmer * FirebirdSQL Foundation member. - Join today at http://www.firebirdsql.org/ff/foundation * JEDI VCS contributor http://jedivcs.sourceforge.net/ * Firebird and Fyracle news http://www.fyracle.org/shownews.php |
|
#3
|
|||
|
|||
|
I've tried that but I cant get gbak to work. I only get error: unavailable database
i used this syntax: gbak -mod read_only c:\temp\db.fdb c:\db.fdb |
|
#4
|
||||
|
||||
|
Have you checked the file attributes for db.fdb (not read only) ?
|
|
#5
|
|||
|
|||
|
Quote:
No, you have to create backup first (if you don't have one). And this is not correct syntax: you have specified 2 db's, it should be somethig like: (if you have backup of your database in c:\temp) gbak -mod read_only c:\temp\db.fbk c:\db.fdb. And don't forget to supply user name and password. -- Best regards, Fikret Hasovic http://fikret.fbtalk.net USAID TAMP Senior Programmer * FirebirdSQL Foundation member. - Join today at http://www.firebirdsql.org/ff/foundation * JEDI VCS contributor http://jedivcs.sourceforge.net/ * Firebird and Fyracle news http://www.fyracle.org/shownews.php |
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Run embedded Firbird from a CD |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|