This Question is Answered

6 Replies Last post: Feb 5, 2010 7:46 PM by flipdoubt  
flipdoubt  Newbie 74 posts since
Jan 27, 2005
Currently Being Moderated

Feb 5, 2010 7:32 PM

5.0 to 5.0.1 upgrade error: "Database driver is missing or specified incorrectly."

My 5.0 configuration worked fine until I upgraded to 5.1, when I get the following message when visiting the site after the upgrade:

 

Error on step: Waiting for a database server...

Database driver is missing or specified incorrectly.

Specified driver class: net.sourceforge.jtds.jdbc.Driver

 

My TeamCity runs on IIS and connects to a local SQL Server. Where do I find this setting and what is the correct value?

Pavel Sher JetBrains 2,148 posts since
Mar 6, 2008
Currently Being Moderated
Feb 5, 2010 6:58 PM in response to: flipdoubt
Re: 5.0 to 5.1 upgrade error: "Database driver is missing or specified incorrectly."

By 5.1 did you actually mean 5.0.2? I think you forgot to copy jtds driver to WEB-INF/lib directory. JTDS is not bundled with TeamCity distribution and should be copied manually after the installation.

Pavel Sher JetBrains 2,148 posts since
Mar 6, 2008
Currently Being Moderated
Feb 5, 2010 7:12 PM in response to: flipdoubt
Re: 5.0 to 5.1 upgrade error: "Database driver is missing or specified incorrectly."

I think this driver was copied when TeamCity was installed for the first time. Please read our installation instructions: http://www.jetbrains.net/confluence/display/TCD5/Setting+up+an+External+Database#SettingupanExternalDatabase-MicrosoftSQLServer

Pavel Sher JetBrains 2,148 posts since
Mar 6, 2008
Currently Being Moderated
Feb 5, 2010 7:38 PM in response to: flipdoubt
Re: 5.0 to 5.0.1 upgrade error: "Database driver is missing or specified incorrectly."

Yes, you need to restart the server.


More Like This

  • Retrieving data ...