[Last Call] Learn how to a build a cloud-first strategyRegister Now


Connecting to a Sybase ASA database using Ruby

Posted on 2007-07-23
Medium Priority
Last Modified: 2012-05-05
I have Sybase ASA (10) installed locally on my Windows XP Pro machine.

I have followed the instructions on http://wiki.rubyonrails.com/rails/pages/SybaseASA.

My database.yml is as follows:
  adapter: sybaseanywhere
  username: dba
  password: sql
  host: localhost
  mode: ADO
  dsn: depot_development

But when i try to create a new scaffold i get the following error:
    OLE error code:800A0E7A in ADODB.Connection
      Provider cannot be found. It may not be properly installed.
    HRESULT error code:0x80020009
      Exception occurred.

Has anyone managed to have a Sybase ASA db running against Ruby?

Thanks,  Mike
Question by:altlogic
1 Comment
LVL 24

Accepted Solution

fridom earned 750 total points
ID: 19630712
You probably does not have modified the ODBC setup that this database can be connected to via ODBC.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently rediscovered rails when I needed a holiday project and decided to build a management dashboard for the company where I work.  With it being a project done in my free time, I could focus my time on learning the basics rather than trying to…
Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
Loops Section Overview
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month17 days, 20 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question