Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 please help with me the error "java.sql.exception:

Author  Topic 

anony
Starting Member

2 Posts

Posted - 2013-01-15 : 23:01:47
Hi,

I got this Exception
java.sql.SQLEXCEPTION :[microsoft][sqlserver 2000 driver forJDBC] connection reset"

while executing

"$pstmt executeQuery "SELECT InstallReqID FROM STAutorequest where ID='$iReqID'"

(procedure "GetInstallID" line4)

invoked from within

"GetInstallID $iReqID"

(procedure "CreateEmailReport" line26)

invoked from within

please reply asap

Thanks

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-01-16 : 06:29:34
Are you using SQL Server 2000 or another version of SQL Server? If you are using another version, you would need to download and update your JDBC libraries. This page might help: http://msdn.microsoft.com/en-US/data/ff928484
Go to Top of Page

prett
Posting Yak Master

212 Posts

Posted - 2013-01-18 : 00:06:51
Are you trying to connect to Microsoft SQL Server 2000 or MySql?

From the exception message you posted, you are using a Microsoft SQL Server 2000 driver. I would be surprised if the same driver will work with MySql.

If you are trying to connection to SQL Server, which version of SQL Server are you trying to connect to?

If you are trying to connect to SQL Server 2005, I recommend that you try the Microsoft SQL Server 2005 JDBC driver v1.2 that is available at http://msdn.microsoft.com/data/jdbc
Go to Top of Page
   

- Advertisement -