SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 please help with me the error "java.sql.exception:
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

anony
Starting Member

2 Posts

Posted - 01/15/2013 :  23:01:47  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

3568 Posts

Posted - 01/16/2013 :  06:29:34  Show Profile  Reply with Quote
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

USA
192 Posts

Posted - 01/18/2013 :  00:06:51  Show Profile  Visit prett's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000