Problem in connecting Rails to MS SQL Server 2000

Hello,
Im’ new to Ruby and Rails. I had trouble in connecting to database. I
used MS SQL Server 2000. I had follow the instructions in conncecting in
some site tutorial however when I run my web application I get these
errors.

E:/INSTAN~1/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:499:in load_driver’ E:/INSTAN~1/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:401:in_get_full_driver’
E:/INSTAN~1/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:381:in connect’ E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/sqlserver_adapter.rb:46:insqlserver_connection’
E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:262:in
send’ E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:262:inconnection_without_query_cache=’
E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/query_cache.rb:54:in
connection=’ E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:230:inretrieve_connection’
E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/abstract/connection_specification.rb:78:in
connection’ E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:763:incolumns’
E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/calculations.rb:257:in
column_for’ E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/calculations.rb:116:incalculate’
E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/calculations.rb:45:in
count’ E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/pagination.rb:173:incount_collection_for_pagination’
E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/pagination.rb:197:in
paginator_and_collection_for’ E:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/pagination.rb:130:inpaginate’
#{RAILS_ROOT}/app/controllers/journals_controller.rb:12:in list’ #{RAILS_ROOT}/app/controllers/journals_controller.rb:3:inindex’

Please give me insights on what I should I do with this errors. or which
file I had made a mistake. i’m having a hard time understanding these
errors but unfortunately I failed to solved.

This is my database.yml
development:
adapter: sqlserver
database: Journal
username: sa
password: root
host: sqlserver.APO.com

test:
adapter: sqlserver
database: Journal
username: sa
password: root
host: sqlserver.APO.com

production:
adapter: sqlserver
database: Journal
username: sa
password: root
host: sqlserver.APO.com

Any help is highly appreciated. I really need this for my web
application.
Thanks in advance.
Or you can email the reply to my email address
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs