on 2006-06-09 19:50
on 2006-06-09 19:57
Hello Harry, I posted some notes I took when I set up the MSDE 2000 on my blog: http://www.llafe.com/articles/2006/05/29/sql-serve... I hope you find the right configuration there. The most common error is related to the database.yml. In it change the host from localhost to (local). Roland
on 2006-06-09 20:23
Roland Mai wrote: > Hello Harry, > > I posted some notes I took when I set up the MSDE 2000 on my blog: > > http://www.llafe.com/articles/2006/05/29/sql-serve... > > I hope you find the right configuration there. > > The most common error is related to the database.yml. In it change the > host from localhost to (local). > > Roland Thanks Roland, I looked at your blog and neither example there worked for me. I am running on an XP Professional machine with the SQL Server 2000 on a Windows Server 2000 machine, not on my local machine. Below is the configuration in my yml file. adapter: sqlserver database: cookbook username: sa password:trustm3 host: tpagpssql00
on 2006-06-09 21:14
I have the exact same setup as you rails on XP and SQL Server 2000 on Win 2000. If you've followed the steps to install ADO.rb, it should work. In my scenario, I have both computers in the same domain, how is your setup? Jin
on 2006-06-09 21:54
Jin Lee wrote: > I have the exact same setup as you rails on XP and SQL Server 2000 on > Win > 2000. If you've followed the steps to install ADO.rb, it should work. In > my > scenario, I have both computers in the same domain, how is your setup? > > Jin Yes, both computers in the same domain. I can connect to the SQL database using Enterprise manager with the same login information but unable to connect using ROR.
on 2006-06-09 22:13
Are you sure you have the TCP/IP listener turned on (Does port 1433 show up as "LISTENING" when you do a "netstat -na") ? It could be that only the Named Pipes channel is active, and the TCP/IP channel is disabled.