[Wtr-general] can you help why ODBC connection failure worked one time and not working no

2007-05-03 Thread Venkata
helo all, I am trying to connect to SQL server through ODBC. Steps 1) I alreday have ODBC available. 2) Created a DSN and tested with Test connection there. 3) verified C:\IRBmain> Require 'ODBC' > true. 4) I created a scripts according to the examples. require 'watir' require 'ODBC' incl

Re: [Wtr-general] can you help why ODBC connection failure worked one time and not working no

2007-05-03 Thread Chris McMahon
I think it should be require 'odbc' not require 'ODBC' PS also should be include Watir I don't know what the "Driver" is. On 5/3/07, Venkata <[EMAIL PROTECTED]> wrote: > helo all, > >I am trying to connect to SQL server through ODBC. > > Steps > 1) I alreday have ODBC available. > 2) Cre

Re: [Wtr-general] can you help why ODBC connection failure worked one time and not working no

2007-05-03 Thread Charley Baker
I'm not familiar with any ODBC library. You should use DBI if you want to go this route which in turn has an ODBC driver. http://www.kitebird.com/articles/ruby-dbi.html -Charley On 5/3/07, Venkata <[EMAIL PROTECTED]> wrote: helo all, I am trying to connect to SQL server through ODBC. Ste

Re: [Wtr-general] can you help why ODBC connection failure worked one time and not working no

2007-05-03 Thread Venkata
Thanks and it worked. i did not notice that i put caps. thansk for answering all these issues. How to clean the Garbage collection through our script. Thanks you very much. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/m

Re: [Wtr-general] can you help why ODBC connection failure worked one time and not working no

2007-05-03 Thread Charley Baker
i'm not sure why you'd worry about garbage collection. if you want to, there's a ruby gc library where you can explicity clean it up. -c On 5/3/07, Venkata <[EMAIL PROTECTED]> wrote: Thanks and it worked. i did not notice that i put caps. thansk for answering all these issues. How to clean th

Re: [Wtr-general] can you help why ODBC connection failure worked one time and not working no

2007-05-04 Thread Venkata
Thanks chareley, i keep getting warning message in the log end of te script execution. Thanks. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] can you help why ODBC connection failure worked one time and not working no

2007-05-04 Thread Charley Baker
What's the warning message? On 5/4/07, Venkata <[EMAIL PROTECTED]> wrote: Thanks chareley, i keep getting warning message in the log end of te script execution. Thanks. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/ma