Just downloaded TeamCity 5.1.2. Created a database in Sql Server 2008 and connected using the credentials I put in properties file. The jtds jar is in the directory indicated in the installation help files.
Here is the error I get in the teamcity-server.log
[2010-07-05 14:18:42,500] ERROR - jetbrains.buildServer.SERVER - Server startup exception: jetbrains.buildServer.rootDispatcher.KnownRecoverableStartupError: Database driver not found:
Could not connect to Microsoft SQL server.
Connection refused: connect
SQL exception: Network error IOException: Connection refused: connect
So.... which is it? Did it not find the driver? Or did it find the driver and couldn't connect? I double-checked all the port settings etc and I *can* connect from SSMS using the same info I am supplying so I am mystified.