This is a question for the author of the SQLite driver for Ruby,
or the ruby mailing list.

Typically when you cannot open a file, you either have the wrong filename
or insufficient file/directory permissions.

--- agus_ramos <[EMAIL PROTECTED]> wrote:
> Hi i'm using Ruby and Sqlite3, the program have to modificate the database,
> and then run it. Wel, when i modificate a registry and then i run the
> program it shows me this error:
> 
> 
> ================ SQLite3::CantOpenException =====================
> c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-mswin32/lib/sqlite3/errors.rb:
> 94:in `check'
>             raise(( EXCEPTIONS[result] || SQLite3::Exception ), msg)
> c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-mswin32/lib/sqlite3/database.r
> b:112:in `initialize'
>           Error.check( result, self, "could not open database" )
> C:\Documents and Settings\Administrator\Desktop\New Developers\App.rbw:58:in
> `op
> en'
>         db_rbt = SQLite3::Database.open( "#{path}" )
> C:\Documents and Settings\Administrator\Desktop\New Developers\App.rbw:58
>         db_rbt = SQLite3::Database.open( "#{path}" )
> 
> =============================================
> Exception: could not open database: unable to open database file
> 
> If i run it again it dosen't have any problem, so i think that it dosen't
> close the database or something, if someone knows how to fix it i wish your
> ask!



       
____________________________________________________________________________________
Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.
http://autos.yahoo.com/carfinder/

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to