My operating system is XP, upgraded to SP2 a few days ago, found that the JDBC can not connect SQL Server, the error cannot be connected, and then I downloaded SQLServer SP3. When I installed the SQLServer SP3, I always prompt the SA password is incorrect. Later, I log in to Microsoft website, find about it SQLSERVER SP3 helps documentation, discovering that the user environment variable in my computer did not set TEMP and TMP. After setting, Update SQLServer SP3 was successful, then the JDBC connection was normal.
I hope this article is helpful to some of the people in the same way.